From c304361c9b2255bd290f9c2957264530fc6c89b7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 5 Mar 2018 22:59:05 +0100 Subject: fix javascript error if there are no notifications --- view/tpl/notifications_widget.tpl | 3 +-- 1 file changed, 1 insertion(+), 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}} - -{{if $notifications}}
{{$no_notifications}}... -- cgit v1.2.3