home
·
contact
·
privacy
projects
/
plomledger
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cecc4
)
Fix variable used before creation.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 28 Jan 2025 13:13:35 +0000
(14:13 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 28 Jan 2025 13:13:35 +0000
(14:13 +0100)
templates/_macros.tmpl
patch
|
blob
|
history
diff --git
a/templates/_macros.tmpl
b/templates/_macros.tmpl
index 5afc9606a3d50bfb51f2222adece4baeb121a690..3619472b02cfb30f4b6bd17611b6794f89ae1d85 100644
(file)
--- a/
templates/_macros.tmpl
+++ b/
templates/_macros.tmpl
@@
-59,11
+59,11
@@
function taint() {
el.disabled = false;
});
// deactivate Booking links
+ let links_text = '';
Array.from(document.getElementsByClassName("disable_on_change")).forEach((el) => {
links_text += el.textContent + ' ';
});
const span = document.getElementById('booking_links');
- let links_text = '';
span.innerHTML = '';
const del = document.createElement("del");
span.appendChild(del);