From b3bcd4d230f40bcbe6a02b6ed46ca920a5f6498e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 12 Jun 2020 18:22:25 +0200 Subject: [PATCH] Move server URL to advanced options --- assets/client.js | 2 -- index.html | 10 ++++------ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/assets/client.js b/assets/client.js index e1039d3..a57a31a 100644 --- a/assets/client.js +++ b/assets/client.js @@ -603,7 +603,6 @@ if (localStorage && localStorage.getItem("server")) { server = JSON.parse(localStorage.getItem("server")); connectFormElt.elements.url.value = server.url; connectFormElt.elements.nick.value = server.nick; - connectFormElt.elements.password.value = server.pass; if (server.username != server.nick) { connectFormElt.elements.username.value = server.username; } @@ -617,7 +616,6 @@ if (localStorage && localStorage.getItem("server")) { var params = parseQueryString(); if (params.server) { - document.querySelector("#connect-url-container").style.display = "none"; connectFormElt.elements.url.value = params.server; } else if (!connectFormElt.elements.url.value) { var host = window.location.host || "localhost:8080"; diff --git a/index.html b/index.html index e32ed5a..d58ff22 100644 --- a/index.html +++ b/index.html @@ -26,12 +26,6 @@

Connect to IRC

-
-
- -

-
-


@@ -49,6 +43,10 @@
+
+ +

+