From f6636ad0282b734e89e2e655b6de802ea9f4b2fc Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Thu, 6 Nov 2014 12:00:14 +0000 Subject: [PATCH] Fix username input --- client/index.html | 6 +++--- client/js/shout.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/index.html b/client/index.html index f52cf4f0..79e29315 100644 --- a/client/index.html +++ b/client/index.html @@ -128,14 +128,14 @@
- +
- +
- +
diff --git a/client/js/shout.js b/client/js/shout.js index 685d74b1..84a22814 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -686,9 +686,9 @@ $(function() { ); }); - forms.on("input", "#nick", function() { + forms.on("input", ".nick", function() { var nick = $(this).val(); - $("#username").val(nick); + forms.find(".username").val(nick); }); Mousetrap.bind([