aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/static
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/static')
-rw-r--r--python/Dawn/static/wire.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/static/wire.js b/python/Dawn/static/wire.js
index 37f2a1c8..48f87104 100644
--- a/python/Dawn/static/wire.js
+++ b/python/Dawn/static/wire.js
@@ -16,7 +16,7 @@ function addWire(direction, wire_data) {
clone.querySelectorAll(".form-control").forEach(
elem => {elem.id = direction + "-" + elem.id + "-" + count;
elem.setAttribute("name",
- direction + "-" + elem.getAttribute("name") + "-" + count)
+ direction + "-" + elem.getAttribute("name") + "-" + count);
});
clone.getElementById("btn").id = direction + "-btn";
document.getElementById(direction).appendChild(clone);
@@ -24,7 +24,7 @@ function addWire(direction, wire_data) {
document.getElementById(direction + "-" + key + "-" + count).value = wire_data[key];
}
document.getElementById(direction + "-btn").addEventListener("click", addWire(direction));
- }
+ };
}
$(function() {