fix history default message

This commit is contained in:
2015-07-09 20:34:39 +02:00
parent 608edb7a1a
commit 6dcc0f54ff

View File

@@ -31,7 +31,7 @@ databap.pageInit = function()
//user history
$UserHistory = databap.getMainElem('#user_history');
if(typeof profile.history == 'undefined') profile.history = {{type:'', id:0, action:'', date:'', title:'Va donc contribuer !'}};
if(!profile.history) profile.history = {1:{type:'', id:'', action:'', date:'(', title:'Je ne vois rien à ton nom, va donc contribuer !'}};
$.each
(
profile.history,