diff --git a/js/main.js b/js/main.js index 72bef88490..aa6a48fcb6 100644 --- a/js/main.js +++ b/js/main.js @@ -130,6 +130,7 @@ function close_last_popup_menu() { if(last_popup_menu) { last_popup_menu.hide(); + last_popup_menu.off('click', function(e) {e.stopPropagation()}); last_popup_button.removeClass("selected"); last_popup_menu = null; last_popup_button = null; @@ -152,6 +153,7 @@ last_popup_button = null; } else { last_popup_menu = menu; + last_popup_menu.on('click', function(e) {e.stopPropagation()}); last_popup_button = parent; $('#nav-notifications-menu').perfectScrollbar('update'); } diff --git a/view/theme/frio/templates/nav.tpl b/view/theme/frio/templates/nav.tpl index 94f91bb4eb..497b8db979 100644 --- a/view/theme/frio/templates/nav.tpl +++ b/view/theme/frio/templates/nav.tpl @@ -9,7 +9,7 @@ {{if $nav.remote}} {{else}} - {{* #logo-img is the the placeholder to insert a mask (friendica logo) into this div + {{* #logo-img is the the placeholder to insert a mask (friendica logo) into this div For Firefox we have to call the paths of the mask (look at the bottom of this file). Because for FF we need relative paths we apply them with js after the page is loaded (look at theme.js *}} @@ -276,13 +276,13 @@ {{*The second part of the notifications dropdown menu. It handles the notifications *}} {{if $nav.notifications}}