Merge pull request #50 from firetech/fixes
Use keydown for key press detection in chat.
This commit is contained in:
@ -633,7 +633,7 @@ window.chat.setupTime = function() {
|
||||
|
||||
|
||||
window.chat.setupPosting = function() {
|
||||
$('#chatinput input').keypress(function(event) {
|
||||
$('#chatinput input').keydown(function(event) {
|
||||
try{
|
||||
|
||||
var kc = (event.keyCode ? event.keyCode : event.which);
|
||||
|
Reference in New Issue
Block a user