loleaflet: rename the iframe used for file downloading

This commit is contained in:
Mihai Varga 2015-11-12 17:19:11 +02:00
parent 419ce63253
commit 8acc111558

View file

@ -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;
},