1
0
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:
Tim Düsterhus 2014-08-02 21:40:52 +02:00
commit d22c209e8d

View File

@ -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 = $ @