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:
987ff38
)
bugfix
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 12 Jul 2020 21:11:34 +0000
(22:11 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 12 Jul 2020 21:11:34 +0000
(22:11 +0100)
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index 1363d87cc980ede705df53c41af9303fb58bbcd6..94e2d06ba45d2f0a92af736ae4e30099246497d6 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-261,7
+261,8
@@
function redisplay_ancillaries(piece: PieceId, p: PieceInfo) {
for (let celem = p.pelem.firstElementChild;
celem != null;
- celem = celem.nextElementSibling) {
+ celem = nextelem) {
+ var nextelem = celem.nextElementSibling
let thref = celem.getAttributeNS(null,"href");
if (thref == href) {
celem.remove();