From aabdf562a65d04814b7c2c184607200d77bef143 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 10 Jul 2016 12:36:08 +0200 Subject: [PATCH] client: re-focus input on chat form submit --- client/js/lounge.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/js/lounge.js b/client/js/lounge.js index 34e55817..a5f0879a 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -681,6 +681,7 @@ $(function() { $("#form").on("submit", function(e) { e.preventDefault(); + focus(); var text = input.val(); if (text.length === 0) {