summaryrefslogtreecommitdiff
path: root/templates/api/debtclock.html
diff options
context:
space:
mode:
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);
}