Yurik has uploaded a new change for review.

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

Change subject: Disable hash update temporarily, to avoid polluting browser 
history
......................................................................

Disable hash update temporarily, to avoid polluting browser history

Bug: T144880
Change-Id: Id98f23a83edfe3ec2d517e3b7905ea758a34322f
(cherry picked from commit e6f63a123f4a26c0934b570875a8f19c53803cfd)
---
M modules/dialog/dialog.js
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Kartographer 
refs/changes/57/318457/1

diff --git a/modules/dialog/dialog.js b/modules/dialog/dialog.js
index fbbdc6b..e58a1cd 100644
--- a/modules/dialog/dialog.js
+++ b/modules/dialog/dialog.js
@@ -185,10 +185,6 @@
                                        return;
                                }
                                this.map.doWhenReady( function ( ) {
-
-                                       if ( this.map.useRouter ) {
-                                               this.map.on( 'moveend', 
this.onMapMove, this );
-                                       }
                                        mw.hook( 'wikipage.maps' ).fire( 
this.map, true /* isFullScreen */ );
                                }, this );
                        }, this );

-- 
To view, visit https://gerrit.wikimedia.org/r/318457
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id98f23a83edfe3ec2d517e3b7905ea758a34322f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: wmf/1.28.0-wmf.23
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