mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Merge branch '3.0.x'
This commit is contained in:
commit
d22c209e8d
@ -229,7 +229,10 @@ Autocomplete a username when TAB is pressed. The name to autocomplete is based o
|
||||
The the word the caret is in will be passed to `autocomplete` and replaced if a match was found.
|
||||
|
||||
$('#timsChatInput').keydown (event) ->
|
||||
if event.keyCode is $.ui.keyCode.TAB
|
||||
switch event.keyCode
|
||||
when 229
|
||||
return
|
||||
when $.ui.keyCode.TAB
|
||||
do event.preventDefault
|
||||
input = $ @
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user