aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-16 02:10:56 -0800
committerfriendica <info@friendica.com>2013-01-16 02:10:56 -0800
commit4fd833b9530c93b71dcb2b1587a4b3c5869915ce (patch)
tree27871b29e5bc62b127fdbd37261049bc20771d3d /js
parentf1afe680524cc5b06f1c9bc950db2e32d108fb6c (diff)
downloadvolse-hubzilla-4fd833b9530c93b71dcb2b1587a4b3c5869915ce.tar.gz
volse-hubzilla-4fd833b9530c93b71dcb2b1587a4b3c5869915ce.tar.bz2
volse-hubzilla-4fd833b9530c93b71dcb2b1587a4b3c5869915ce.zip
fix event notifications
Diffstat (limited to 'js')
-rw-r--r--js/main.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/main.js b/js/main.js
index 169717404..e825d837a 100644
--- a/js/main.js
+++ b/js/main.js
@@ -317,10 +317,10 @@
if(data.birthdays_today == 0) { data.birthdays_today = ''; $('#birthdays-today-update').removeClass('show') } else { $('#birthdays-today-update').addClass('show') }
$('#birthdays-today-update').html(data.birthdays_today);
- if(data.all_events == 0) { data.all_events = ''; $('#all-events-update').removeClass('show') } else { $('#all-events-update').addClass('show') }
- $('#all-events-update').html(data.all_events);
- if(data.all_events_today == 0) { data.all_events_today = ''; $('#all-events-today-update').removeClass('show') } else { $('#all-events-today-update').addClass('show') }
- $('#all-events-today-update').html(data.all_events_today);
+ if(data.all_events == 0) { data.all_events = ''; $('#all_events-update').removeClass('show') } else { $('#all_events-update').addClass('show') }
+ $('#all_events-update').html(data.all_events);
+ if(data.all_events_today == 0) { data.all_events_today = ''; $('#all_events-today-update').removeClass('show') } else { $('#all_events-today-update').addClass('show') }
+ $('#all_events-today-update').html(data.all_events_today);
$(data.notice).each(function() {