handle both selector patterns

pull/15126/head
groene 2025-09-04 14:11:34 +02:00
rodzic 190c7d5bf2
commit 77cd082364
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -256,7 +256,7 @@ $(function() {
});
/* Also ensure loading is visible by default when notifications menu is opened*/
$(document).on('click', '#nav-notifications-linkmenu', function() {
$(document).on('click', '#nav-notifications-linkmenu, #nav-notifications-menu-btn', function() {
if ($("#nav-notifications-loading").length && $("#nav-notifications-empty").length) {
$("#nav-notifications-loading").show();
$("#nav-notifications-empty").hide();