chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6643e32
)
script: Record a todo
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 29 Mar 2021 20:46:14 +0000
(21:46 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 29 Mar 2021 20:46:14 +0000
(21:46 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index 039e19ebe8dc2da6d2c4f6096177e46c9f7427ec..f0e33e1ed3fc411c3f0da6163e67ce14daecba4b 100644
(file)
--- 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;