Jdlrobson has submitted this change and it was merged.
Change subject: Fix funny bracketing fail
......................................................................
Fix funny bracketing fail
Change-Id: I5b10e44e82d242bc9b07f7c848c37af991198f0e
---
M includes/skins/SkinMobile.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jdlrobson: Verified; Looks good to me, approved
diff --git a/includes/skins/SkinMobile.php b/includes/skins/SkinMobile.php
index 26fc7fd..52a060b 100644
--- a/includes/skins/SkinMobile.php
+++ b/includes/skins/SkinMobile.php
@@ -240,7 +240,7 @@
// attach styles
$headLinks[] = $this->resourceLoaderLink( array(
'mobile.styles' ), 'styles', $target='mobile' );
- if ( count( $contextModules['top'] > 0 ) ) {
+ if ( count( $contextModules['top'] ) > 0 ) {
$headLinks[] = $this->resourceLoaderLink(
$contextModules['top'], 'styles', $target='mobile' );
}
// add device specific css file - add separately to avoid cache
fragmentation
--
To view, visit https://gerrit.wikimedia.org/r/54990
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5b10e44e82d242bc9b07f7c848c37af991198f0e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: MaxSem <[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