mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 07:10:46 -05:00
Make Tab behave a bit more prediably in textboxes
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user