From f58f62530320c3af9016338066e0aabb922661b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 25 Jun 2018 13:28:53 +0200 Subject: [PATCH] Recover auth code --- code/html/custom.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/html/custom.js b/code/html/custom.js index 6f90a788..e300980a 100644 --- a/code/html/custom.js +++ b/code/html/custom.js @@ -1436,14 +1436,12 @@ function connectToURL(url) { initUrls(url); - /* $.ajax({ 'method': 'GET', 'crossDomain': true, 'url': urls.auth.href, 'xhrFields': { 'withCredentials': true } }).done(function(data) { - */ if (websock) { websock.close(); } websock = new WebSocket(urls.ws.href); websock.onmessage = function(evt) { @@ -1452,11 +1450,9 @@ function connectToURL(url) { processData(data); } }; - /* }).fail(function() { // Nothing to do, reload page and retry }); - */ }