doc added
This commit is contained in:
parent
a67087b6de
commit
00aee89709
|
@ -157,6 +157,12 @@ function resizeChatConversation() {
|
|||
chat.height(window.innerHeight - 15 - msgareaHeight);
|
||||
}
|
||||
|
||||
/**
|
||||
* Focus input after 400 ms
|
||||
* Found input by id
|
||||
*
|
||||
* @param id {string} input id
|
||||
*/
|
||||
function deferredFocus(id){
|
||||
setTimeout(function (){
|
||||
$(`#${id}`).focus();
|
||||
|
|
Loading…
Reference in New Issue