From: Ian Jackson Date: Mon, 29 Mar 2021 20:46:14 +0000 (+0100) Subject: script: Record a todo X-Git-Tag: otter-0.5.0~381 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=efe2e0cdeb7caed4694d366ae13890a826f36096;p=otter.git script: Record a todo Signed-off-by: Ian Jackson --- 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;