Allow to open the share form on map load
This commit is contained in:
parent
e1f34e20ff
commit
63a7ef00ea
1 changed files with 1 additions and 0 deletions
|
@ -254,6 +254,7 @@ L.U.Map.include({
|
|||
if (this.options.onLoadPanel === 'databrowser') this.openBrowser()
|
||||
else if (this.options.onLoadPanel === 'caption') this.displayCaption()
|
||||
else if (this.options.onLoadPanel === 'datafilters') this.openFilter()
|
||||
else if (this.options.onLoadPanel === 'share') this.renderShareBox()
|
||||
})
|
||||
this.onceDataLoaded(function () {
|
||||
const slug = L.Util.queryString('feature')
|
||||
|
|
Loading…
Reference in a new issue