diff --git a/umap/static/umap/js/umap.js b/umap/static/umap/js/umap.js index b865a778..f4149bd2 100644 --- a/umap/static/umap/js/umap.js +++ b/umap/static/umap/js/umap.js @@ -251,7 +251,7 @@ L.U.Map.include({ this.renderEditToolbar() } this.initShortcuts() - this.onceDatalayersLoaded(function () { + this.onceDataLoaded(function () { if (L.Util.queryString('share')) this.renderShareBox() else if (this.options.onLoadPanel === 'databrowser') this.openBrowser() else if (this.options.onLoadPanel === 'caption') this.displayCaption()