summaryrefslogtreecommitdiff
path: root/templates/api/debtclock.html
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-12-17 03:14:46 -0500
committerLLLL Colonq <llll@colonq>2025-12-17 03:14:46 -0500
commit0e3bdb5e8ae3b3bb1b8b79fd6225ad73803818c0 (patch)
tree8b150bccba39f600f55fe19cc1d1bc5c4471a9ce /templates/api/debtclock.html
parentd9e8dd53b0cc340c608992f67597240061d6fdcf (diff)
Fix M4
Diffstat (limited to 'templates/api/debtclock.html')
-rw-r--r--templates/api/debtclock.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/api/debtclock.html b/templates/api/debtclock.html
index 84086d7..884205d 100644
--- a/templates/api/debtclock.html
+++ b/templates/api/debtclock.html
@@ -72,8 +72,8 @@
let parent = document.getElementById("debtclock");
let child = document.createElement("span");
child.className = cl;
- child.id = `d-${field}`;
- child.style = `right: ${3548-x}px; top: ${y}px;`;
+ child.id = "d-" + field.toString();
+ child.style = "right: " + (3548-x).toString() + "px; top: " + y.toString() + "px;";
child.innerText = "N/A";
parent.appendChild(child);
}