Yurik has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/257752

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Graph 
refs/changes/52/257752/1

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/257752
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib200cb40bc07443b464bb47ed417ee3856d17767
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Graph
Gerrit-Branch: wmf/1.27.0-wmf.8
Gerrit-Owner: Yurik <[email protected]>
Gerrit-Reviewer: JGirault <[email protected]>

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

Reply via email to