jenkins-bot has submitted this change and it was merged. Change subject: Hygiene: Fix add of no-position-fixed ......................................................................
Hygiene: Fix add of no-position-fixed Don't add no-position-fixed for browsers _supports_ fixed positions. Follow up: I9d1ff1725ba43956d1b7f1f9c2732ce9b2e80392 Bug: T85258 Change-Id: Iab58999e43f1654d76589e8fb53a2e0e927e1ac8 --- M javascripts/application.js 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Phuedx: Looks good to me, approved jenkins-bot: Verified diff --git a/javascripts/application.js b/javascripts/application.js index fd38622..825faa3 100644 --- a/javascripts/application.js +++ b/javascripts/application.js @@ -70,7 +70,7 @@ if ( browser.supportsAnimations() ) { $viewport.addClass( 'animations' ); } - if ( browser.supportsPositionFixed() ) { + if ( !browser.supportsPositionFixed() ) { $viewport.addClass( 'no-position-fixed' ); } if ( browser.supportsTouchEvents() ) { -- To view, visit https://gerrit.wikimedia.org/r/181874 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iab58999e43f1654d76589e8fb53a2e0e927e1ac8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de> Gerrit-Reviewer: Phuedx <g...@samsmith.io> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits