From b5b75f83a207c00d3582745bd2dc1866639028b6 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 18 Jan 2013 10:47:53 +0100 Subject: Rewrite of javascript engine to be more model-view-controller like. --- proto.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proto.js') diff --git a/proto.js b/proto.js index a7f9fdf..74fa3ab 100644 --- a/proto.js +++ b/proto.js @@ -40,8 +40,6 @@ try { } socket_task.onmessage = function got_packet(msg) { - document.getElementById("wstask_lastmsg").textContent = msg.data; - var messageEvent = new CustomEvent("messageEvent", { detail: { message: msg.data, @@ -163,3 +161,4 @@ try { } catch(exception) { alert('

Error' + exception + '

'); } + -- cgit v1.2.3