jenkins-bot has submitted this change and it was merged.
Change subject: Fix Click-to-Interact not working on MobileFrontend
......................................................................
Fix Click-to-Interact not working on MobileFrontend
Change-Id: Ib200cb40bc07443b464bb47ed417ee3856d17767
---
M modules/graph-loader.js
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Yurik: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/graph-loader.js b/modules/graph-loader.js
index 3b9d08f..8f88273 100644
--- a/modules/graph-loader.js
+++ b/modules/graph-loader.js
@@ -3,7 +3,7 @@
mw.hook( 'wikipage.content' ).add( function () {
// Make graph containers clickable
- $( '#mw-content-text' ).on( 'click',
'.mw-graph.mw-graph-interactable', function () {
+ $( '#bodyContent' ).on( 'click',
'.mw-graph.mw-graph-interactable', function () {
var $this = $( this ),
$button = $this.find( '.mw-graph-switch' );
--
To view, visit https://gerrit.wikimedia.org/r/257744
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib200cb40bc07443b464bb47ed417ee3856d17767
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: master
Gerrit-Owner: JGirault <[email protected]>
Gerrit-Reviewer: Yurik <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits