jenkins-bot has submitted this change and it was merged.

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

Approvals:
  MaxSem: Looks good to me, approved
  jenkins-bot: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0965f6e4893dfbf1d792f4e9de7952941b9b9445
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: master
Gerrit-Owner: Yurik <yu...@wikimedia.org>
Gerrit-Reviewer: MaxSem <maxsem.w...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to