Yurik has uploaded a new change for review.

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

Change subject: Remove static background image once the map is interactive
......................................................................

Remove static background image once the map is interactive

Bug: T149155
Change-Id: I5a08282f30ab40e77ee8ddfea3121fd3babcf8d5
(cherry picked from commit f979dbd16e6429cb5ebcb165f2312ab6fa77f76d)
---
M modules/mapframe/mapframe.js
1 file changed, 3 insertions(+), 0 deletions(-)


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

diff --git a/modules/mapframe/mapframe.js b/modules/mapframe/mapframe.js
index 264c5ae..b482e91 100644
--- a/modules/mapframe/mapframe.js
+++ b/modules/mapframe/mapframe.js
@@ -103,6 +103,9 @@
                                map.doWhenReady( function () {
                                        map.$container.css( 'backgroundImage', 
'' );
                                } );
+                               map.doWhenReady( function () {
+                                       map.$container.css( 'backgroundImage', 
'' );
+                               } );
 
                                mapsInArticle.push( map );
                                maps[ index ] = map;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5a08282f30ab40e77ee8ddfea3121fd3babcf8d5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Kartographer
Gerrit-Branch: wmf/1.29.0-wmf.1
Gerrit-Owner: Yurik <yu...@wikimedia.org>
Gerrit-Reviewer: JGirault <julien.inbox.w...@gmail.com>

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

Reply via email to