summaryrefslogtreecommitdiff
path: root/handler.js
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-02-08 20:26:14 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2019-02-09 15:40:28 +0100
commit1ae51ff94d0f1f27a4e4cc657371578db13c3ca1 (patch)
treef383cb73afa171ac10ab91eafea9f11804042744 /handler.js
parentfb958041310617c7aeef36a8dc9041e2a51fae6d (diff)
Make code compile again (fix bitrot dating back from 2013).
Diffstat (limited to 'handler.js')
-rw-r--r--handler.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/handler.js b/handler.js
index b792df2..91857aa 100644
--- a/handler.js
+++ b/handler.js
@@ -8,8 +8,8 @@ function connectEventHandler(e)
document.getElementById("wstask_status").style.backgroundColor = "#40ff40";
document.getElementById("wstask_status").textContent = "TaskProto websocket connection opened ";
- // login("foobar", "hundemad");
-// observe(0);
+ //login("foobar", "hundemad");
+ //observe(0);
}
document.addEventListener("disconnectEvent", disconnectEventHandler, false);
@@ -52,7 +52,7 @@ function createEventHandler(e)
task.create();
if(parentid == -1) {
- tasks.push(task);
+ tasks.push(task);
var board = getBoard(observeid);
board.appendChild(task.element);
return;