Fix wrong assignement to const
This commit is contained in:
parent
2c451a2941
commit
b61b5a48a3
1 changed files with 1 additions and 1 deletions
|
@ -1259,7 +1259,7 @@ L.U.IframeExporter = L.Evented.extend({
|
||||||
|
|
||||||
build: function () {
|
build: function () {
|
||||||
const iframeUrl = this.buildUrl()
|
const iframeUrl = this.buildUrl()
|
||||||
const code = `<iframe width="${this.dimensions.width}" height="${this.dimensions.height}" frameborder="0" allowfullscreen allow="geolocation" src="${iframeUrl}"></iframe>`
|
let code = `<iframe width="${this.dimensions.width}" height="${this.dimensions.height}" frameborder="0" allowfullscreen allow="geolocation" src="${iframeUrl}"></iframe>`
|
||||||
if (this.options.includeFullScreenLink) {
|
if (this.options.includeFullScreenLink) {
|
||||||
code += `<p><a href="${this.baseUrl}">${L._('See full screen')}</a></p>`
|
code += `<p><a href="${this.baseUrl}">${L._('See full screen')}</a></p>`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue