summaryrefslogtreecommitdiff
path: root/src/ws/node.js
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-14 20:03:51 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-14 20:03:51 +0200
commit67ab36c1bb87196379153881afcd7e17aea421e2 (patch)
treebfc80665cf2c42ab0b8012916f3866adae809721 /src/ws/node.js
parent5e425372f92687af2b24972ca1d28ae66d3c15d6 (diff)
Make state toggle when clicked.
Diffstat (limited to 'src/ws/node.js')
-rw-r--r--src/ws/node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ws/node.js b/src/ws/node.js
index 6e60b37..062f892 100644
--- a/src/ws/node.js
+++ b/src/ws/node.js
@@ -201,7 +201,7 @@ Node.prototype.create = function()
this.state_element.setAttribute("onclick", "changeState(event)");
this.state_element.setAttribute("nodeid", this.id);
this.state_element.setAttribute("class", "state");
- var txt_state = document.createTextNode("");
+ var txt_state = document.createTextNode("todo");
this.state_element.appendChild(txt_state);
this.data_element.appendChild(this.state_element);