Bmansurov has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/172425

Change subject: Alpha: Hide notifications bell icon when spinner is shown
......................................................................

Alpha: Hide notifications bell icon when spinner is shown

Bug: 73058
Change-Id: If5475988dcfc097e17acd636d9b6214c994d98a4
---
M javascripts/modules/notifications/notifications.js
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/25/172425/1

diff --git a/javascripts/modules/notifications/notifications.js 
b/javascripts/modules/notifications/notifications.js
index 19832c3..5ad43a1 100644
--- a/javascripts/modules/notifications/notifications.js
+++ b/javascripts/modules/notifications/notifications.js
@@ -17,9 +17,9 @@
        function loadModuleScript( moduleName ) {
                var d = $.Deferred();
 
-               $btn.addClass( 'loading' );
+               $btn.removeClass( 'mw-ui-icon-notifications' ).addClass( 
'loading' );
                mw.loader.using( moduleName, function () {
-                       $btn.removeClass( 'loading' );
+                       $btn.removeClass( 'loading' ).addClass( 
'mw-ui-icon-notifications' );
                        d.resolve();
                } );
                return d;

-- 
To view, visit https://gerrit.wikimedia.org/r/172425
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If5475988dcfc097e17acd636d9b6214c994d98a4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Bmansurov <bmansu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to