mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-12-28 07:34:28 +01:00
final import fix
This commit is contained in:
parent
def634aec8
commit
4ae1bab064
2 changed files with 2 additions and 4 deletions
|
@ -14,7 +14,7 @@ import polylabel from './polylabel.js';
|
||||||
========================================================================
|
========================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function initDraw(){
|
window.initDraw = function(){
|
||||||
wrapper.classList.remove('listHidden')
|
wrapper.classList.remove('listHidden')
|
||||||
|
|
||||||
window.render = render
|
window.render = render
|
||||||
|
@ -366,5 +366,3 @@ function initDraw(){
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ async function init(){
|
||||||
if (mode !== "draw") initViewGlobal()
|
if (mode !== "draw") initViewGlobal()
|
||||||
|
|
||||||
if(mode === "draw"){
|
if(mode === "draw"){
|
||||||
initDraw();
|
window.initDraw();
|
||||||
} else if(mode === "about"){
|
} else if(mode === "about"){
|
||||||
window.location = "./about.html";
|
window.location = "./about.html";
|
||||||
} else if(mode === "overlap"){
|
} else if(mode === "overlap"){
|
||||||
|
|
Loading…
Reference in a new issue