Commit dedaf53a by Kálmán Viktor

dashboard: fix favicon showing undefined

network page has no notifications
parent 08818312
...@@ -4,7 +4,8 @@ $(function () { ...@@ -4,7 +4,8 @@ $(function () {
}); });
var notifications = $("#notification_count").data("notifications"); var notifications = $("#notification_count").data("notifications");
favicon.badge(notifications); if(notifications)
favicon.badge(notifications);
$(".not-tab-pane").removeClass("not-tab-pane").addClass("tab-pane"); $(".not-tab-pane").removeClass("not-tab-pane").addClass("tab-pane");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment