From 326dcd256246018788721205a4154aa87fe0973d Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 26 Sep 2022 09:06:22 +0200 Subject: [PATCH] Remove accidental eval --- docroot/last/websock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docroot/last/websock.js b/docroot/last/websock.js index b178ce8..9c62e5c 100644 --- a/docroot/last/websock.js +++ b/docroot/last/websock.js @@ -31,7 +31,7 @@ export function ws_connect(ws_url, callback) { ws.onclose = function() { setColor(maplabel, 'red'); - setTimeout(ws_connect(ws_url, callback), reconnectTimeout, ws_url, callback); + setTimeout(ws_connect, reconnectTimeout, ws_url, callback); }; ws.onmessage = function(event) {