kopia lustrzana https://github.com/friendica/friendica
ensure loading is visible by default
rodzic
e0800c553b
commit
7e4e9e491a
|
|
@ -253,6 +253,14 @@ $(function() {
|
||||||
$("#nav-notifications-loading").show();
|
$("#nav-notifications-loading").show();
|
||||||
$("#nav-notifications-empty").hide();
|
$("#nav-notifications-empty").hide();
|
||||||
|
|
||||||
|
/* Also ensure loading is visible by default when notifications menu is opened*/
|
||||||
|
$(document).on('click', '#nav-notifications-linkmenu', function() {
|
||||||
|
if ($("#nav-notifications-loading").length && $("#nav-notifications-empty").length) {
|
||||||
|
$("#nav-notifications-loading").show();
|
||||||
|
$("#nav-notifications-empty").hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
/* enable perfect-scrollbars for different elements */
|
/* enable perfect-scrollbars for different elements */
|
||||||
$('#nav-notifications-menu, aside').perfectScrollbar();
|
$('#nav-notifications-menu, aside').perfectScrollbar();
|
||||||
|
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue