From 640eeef4e0ada3924c7fbf79dfa44e0bc2145628 Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sun, 19 May 2013 02:40:54 -0500 Subject: [PATCH] Make Tab behave a bit more prediably in textboxes --- js/client-chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-chat.js b/js/client-chat.js index 9bba38541..eb4822423 100644 --- a/js/client-chat.js +++ b/js/client-chat.js @@ -169,7 +169,7 @@ // There needs to be non-whitespace to the left of the cursor. var m = /^(.*?)([^ ]*)$/.exec(text.substr(0, idx)); - if (!m) return false; + if (!m) return true; this.tabComplete.prefix = m[1]; var idprefix = toId(m[2]);