Dr0ptp4kt has uploaded a new change for review.
https://gerrit.wikimedia.org/r/92924
Change subject: Be stricter about inclusion of JS and CSS in case UA is feature
phone.
......................................................................
Be stricter about inclusion of JS and CSS in case UA is feature phone.
Change-Id: I42e41bb612e84146068ab9396c919dd5477f6ebb
---
M includes/PageRenderingHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ZeroRatedMobileAccess
refs/changes/24/92924/1
diff --git a/includes/PageRenderingHooks.php b/includes/PageRenderingHooks.php
index 160c232..d0f74ed 100644
--- a/includes/PageRenderingHooks.php
+++ b/includes/PageRenderingHooks.php
@@ -337,7 +337,7 @@
}
}
- if ( $this->getConfigId() !== null || $this->isZeroSubdomain ) {
+ if ( $this->getConfig() !== null || $this->isZeroSubdomain ) {
$out->addModuleStyles( 'mobile.zero.styles' );
$out->addModules( 'mobile.zero.scripts' );
}
--
To view, visit https://gerrit.wikimedia.org/r/92924
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I42e41bb612e84146068ab9396c919dd5477f6ebb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ZeroRatedMobileAccess
Gerrit-Branch: master
Gerrit-Owner: Dr0ptp4kt <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits