mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Focus chatInput after inserting text
This commit is contained in:
parent
0165b0c1ac
commit
452315f5f7
@ -160,6 +160,7 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {};
|
|||||||
$('#chatInput').val(text);
|
$('#chatInput').val(text);
|
||||||
|
|
||||||
if (options.submit) $('#chatForm').submit();
|
if (options.submit) $('#chatForm').submit();
|
||||||
|
else $('#chatInput').focus();
|
||||||
},
|
},
|
||||||
toggleUserMenu: function (target) {
|
toggleUserMenu: function (target) {
|
||||||
liUserID = '#' + target.parent().parent().attr('id');
|
liUserID = '#' + target.parent().parent().attr('id');
|
||||||
|
Loading…
Reference in New Issue
Block a user