diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-03-05 22:59:05 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-03-05 22:59:05 +0100 |
commit | bae2af09a0c2bc0d733e586aec156d5f1a270a92 (patch) | |
tree | 3d8ff3c14cbd08ff95adfc8f8425d6a9df250d61 /view/tpl | |
parent | a0e0b8206722aa98994ea02e7c4768db19d7932a (diff) | |
download | volse-hubzilla-bae2af09a0c2bc0d733e586aec156d5f1a270a92.tar.gz volse-hubzilla-bae2af09a0c2bc0d733e586aec156d5f1a270a92.tar.bz2 volse-hubzilla-bae2af09a0c2bc0d733e586aec156d5f1a270a92.zip |
fix javascript error if there are no notifications
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 18250cf97..215fddd08 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -1,3 +1,4 @@ +{{if $notifications}} <script> var notifications_parent; @@ -121,8 +122,6 @@ } </script> - -{{if $notifications}} <div id="notifications_wrapper"> <div id="no_notifications" class="d-xl-none"> {{$no_notifications}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span> |