From bae2af09a0c2bc0d733e586aec156d5f1a270a92 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(-) (limited to 'view/tpl') 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