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:51 +0100 |
commit | c304361c9b2255bd290f9c2957264530fc6c89b7 (patch) | |
tree | f8ad31b15cfd0d72670092f6efd4912b8b4a51d4 | |
parent | 12ca4caa4aae579e369149ce45956033bcc7dca9 (diff) | |
download | volse-hubzilla-c304361c9b2255bd290f9c2957264530fc6c89b7.tar.gz volse-hubzilla-c304361c9b2255bd290f9c2957264530fc6c89b7.tar.bz2 volse-hubzilla-c304361c9b2255bd290f9c2957264530fc6c89b7.zip |
fix javascript error if there are no notifications
-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> |