jenkins-bot has submitted this change and it was merged.

Change subject: Hygiene: Address wgMFMode FIXME
......................................................................


Hygiene: Address wgMFMode FIXME

No longer needed. Cache is long cleared

Change-Id: I3c2b7103782e79c8325719f60649cf7453a3bb5c
(cherry picked from commit f8fba1b027941cd47a8ae141cf4d9593d4bb4f60)
---
M javascripts/common/application.js
1 file changed, 1 insertion(+), 8 deletions(-)

Approvals:
  Jdlrobson: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/javascripts/common/application.js 
b/javascripts/common/application.js
index 849cf61..fa00e46 100644
--- a/javascripts/common/application.js
+++ b/javascripts/common/application.js
@@ -52,17 +52,10 @@
        // TODO: separate main menu navigation code into separate module
        function init() {
                var
-                       mode, $body = $( 'body' ),
+                       $body = $( 'body' ),
                        $doc = $( 'html' ),
                        $viewport = $( '#mw-mf-viewport' );
 
-               if ( $body.hasClass( 'alpha' ) ) {
-                       mode = 'alpha';
-               } else {
-                       mode = $body.hasClass( 'beta' ) ? 'beta' : 'stable';
-               }
-               // FIXME: To remove. We currently set it here as well in case 
it is not in the raw HTML due to a caching problem
-               mw.config.set( 'wgMFMode', mode );
 
                $doc.removeClass( 'page-loading' ); // FIXME: Kill with fire. 
This is here for historic reasons in case old HTML is cached
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3c2b7103782e79c8325719f60649cf7453a3bb5c
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: JGonera <[email protected]>
Gerrit-Reviewer: Jdlrobson <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to