From 1ae51ff94d0f1f27a4e4cc657371578db13c3ca1 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 8 Feb 2019 20:26:14 +0100 Subject: Make code compile again (fix bitrot dating back from 2013). --- handler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'handler.js') 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; -- cgit v1.2.3