diff --git a/masks/profile.html b/masks/profile.html index 318c977..7b064ea 100755 --- a/masks/profile.html +++ b/masks/profile.html @@ -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,