MaxSem has uploaded a new change for review.

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

Change subject: Fix full screen button for some maps
......................................................................

Fix full screen button for some maps

Bug: T147987
Change-Id: I0965f6e4893dfbf1d792f4e9de7952941b9b9445
---
M modules/box/Map.js
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/modules/box/Map.js b/modules/box/Map.js
index 43b7e56..6880fc4 100644
--- a/modules/box/Map.js
+++ b/modules/box/Map.js
@@ -270,8 +270,8 @@
                        if ( this.parentMap ) {
                                $.each( this.parentMap.dataLayers, function ( 
groupId, layer ) {
                                        map.addGeoJSONLayer( groupId, 
layer.getGeoJSON(), layer.options );
-                                       ready();
                                } );
+                               ready();
                                return;
                        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0965f6e4893dfbf1d792f4e9de7952941b9b9445
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: wmf/1.28.0-wmf.22
Gerrit-Owner: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: Yurik <yu...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to