aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-25 17:07:38 -0800
committerfriendica <info@friendica.com>2012-02-25 17:07:38 -0800
commit9b6afc2a38cc00d3fabfbb90277665df820c05a6 (patch)
tree7c18c06c866cda774d4fa60e83cb729a146c1aea /js
parent35b5850af705ced6eca88b45cd60de41b5a897bc (diff)
downloadvolse-hubzilla-9b6afc2a38cc00d3fabfbb90277665df820c05a6.tar.gz
volse-hubzilla-9b6afc2a38cc00d3fabfbb90277665df820c05a6.tar.bz2
volse-hubzilla-9b6afc2a38cc00d3fabfbb90277665df820c05a6.zip
one more attempt
Diffstat (limited to 'js')
-rwxr-xr-xjs/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js
index 515bd0fd3..a5d1214cb 100755
--- a/js/main.js
+++ b/js/main.js
@@ -114,7 +114,7 @@
var eNotif = $(data).find('notif')
notif = eNotif.attr('count');
- if (notif>0){
+ if (notif>=0){
$("#nav-notifications-linkmenu").addClass("on");
nnm = $("#nav-notifications-menu");
@@ -132,7 +132,7 @@
// $("#nav-notifications-linkmenu").removeClass("on");
// $("#nav-notifications-menu").html(notifications_empty);
}
- if(notif == 0) { /* notif = ''; $('#notify-update').removeClass('show') */ } else { $('#notify-update').addClass('show') }
+ if(notif == 0) { notif = ''; $('#notify-update').removeClass('show') } else { $('#notify-update').addClass('show') }
$('#notify-update').html(notif);
var eSysmsg = $(data).find('sysmsgs');