From 6dcc0f54ff424d7b85892622146cc792e67c8b43 Mon Sep 17 00:00:00 2001 From: franzz Date: Thu, 9 Jul 2015 20:34:39 +0200 Subject: [PATCH] fix history default message --- masks/profile.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,