From f783c9ccb0d96ff8fdb3be08a5ca0bf7c197ea5f Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Sun, 14 Sep 2014 14:26:22 -0700 Subject: [PATCH] Update connect --- client/index.html | 9 ++++++++- client/js/shout.js | 14 +------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/client/index.html b/client/index.html index ab1f9b29..c14eaec2 100644 --- a/client/index.html +++ b/client/index.html @@ -79,6 +79,12 @@

Network settings

+
+ +
+
+ +
@@ -111,9 +117,10 @@
-
+
+
diff --git a/client/js/shout.js b/client/js/shout.js index bcbd7939..94b361ee 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -197,12 +197,7 @@ $(function() { $("#connect") .find(".btn") .prop("disabled", false) - .end() - .find("input") - .each(function() { - var self = $(this); - self.val(self.data("default")); - }); + .end(); }); socket.on("nick", function(data) { @@ -238,13 +233,6 @@ $(function() { .html(render("user", data)); }); - $("#connect") - .find("input") - .each(function() { - var self = $(this); - self.data("default", self.val()); - }); - $.cookie.json = true; var settings = $("#settings");