From efe2e0cdeb7caed4694d366ae13890a826f36096 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 29 Mar 2021 21:46:14 +0100 Subject: [PATCH] script: Record a todo Signed-off-by: Ian Jackson --- templates/script.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/script.ts b/templates/script.ts index 039e19eb..f0e33e1e 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -1338,6 +1338,8 @@ function startup() { console.log('STARTUP'); console.log(wasm_bindgen.setup("OK")); + // xxx make there be a function for these singleton elements that + // xxx spots if a loaded svg has introduced the same id var body = document.getElementById("main-body")!; zoom_btn = document.getElementById("zoom-btn") as any; zoom_val = document.getElementById("zoom-val") as any; -- 2.30.2