diff --git a/incubator/x86emu/www/index.html b/incubator/x86emu/www/index.html index 48418f44..ccc5e215 100644 --- a/incubator/x86emu/www/index.html +++ b/incubator/x86emu/www/index.html @@ -10,8 +10,8 @@ import InstanceManager from "./js/InstanceManager.mjs" document.addEventListener("DOMContentLoaded", () => { - window.manager = new InstanceManager({spawnRoot: document.body, term: true}); - window.manager.createInstance({spawnRoot: document.body, term: true}) + const manager = new InstanceManager({spawnRoot: document.body, term: true}); + manager.createInstance({spawnRoot: document.body, term: true}); });