Konstantyn Pahsura před 8 roky
rodič
revize
00aee89709
1 změnil soubory, kde provedl 6 přidání a 0 odebrání
  1. 6
    0
      modules/UI/side_pannels/chat/Chat.js

+ 6
- 0
modules/UI/side_pannels/chat/Chat.js Zobrazit soubor

157
     chat.height(window.innerHeight - 15 - msgareaHeight);
157
     chat.height(window.innerHeight - 15 - msgareaHeight);
158
 }
158
 }
159
 
159
 
160
+/**
161
+ * Focus input after 400 ms
162
+ * Found input by id
163
+ *
164
+ * @param id {string} input id
165
+ */
160
 function deferredFocus(id){
166
 function deferredFocus(id){
161
     setTimeout(function (){
167
     setTimeout(function (){
162
         $(`#${id}`).focus();
168
         $(`#${id}`).focus();

Načítá se…
Zrušit
Uložit