diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 9c33c067..58357fa6 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -1484,10 +1484,9 @@ L.U.IframeExporter = L.Evented.extend({ build: function () { const iframeUrl = this.buildUrl() - let fullUrl let code = `` if (this.options.includeFullScreenLink) { - fullUrl = this.buildUrl({ scrollWheelZoom: true }) + const fullUrl = this.buildUrl({ scrollWheelZoom: true }) code += `

${L._('See full screen')}

` } return code