From 8acc11155828a2493ff301a0d49bf1e96728b799 Mon Sep 17 00:00:00 2001 From: Mihai Varga Date: Thu, 12 Nov 2015 17:19:11 +0200 Subject: [PATCH] loleaflet: rename the iframe used for file downloading --- loleaflet/src/map/Map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 0609337ae..28c2209ed 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -459,7 +459,8 @@ L.Map = L.Evented.extend({ var textAreaContainer = L.DomUtil.create('div', 'clipboard-container', container.parentElement); this._textArea = L.DomUtil.create('textarea', 'clipboard', textAreaContainer); this._resizeDetector = L.DomUtil.create('iframe', 'resize-detector', container); - this._fileDownloader = L.DomUtil.create('iframe', 'resize-detector', container); + this._fileDownloader = L.DomUtil.create('iframe', '', container); + L.DomUtil.setStyle(this._fileDownloader, 'display', 'none'); container._leaflet = true; },