final import fix

This commit is contained in:
Fabian Wunsch 2022-04-12 16:45:07 +02:00
parent def634aec8
commit 4ae1bab064
2 changed files with 2 additions and 4 deletions

View file

@ -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(){
} }
} }

View file

@ -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"){