Konstantyn Pahsura пре 8 година
родитељ
комит
00aee89709
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6
    0
      modules/UI/side_pannels/chat/Chat.js

+ 6
- 0
modules/UI/side_pannels/chat/Chat.js Прегледај датотеку

@@ -157,6 +157,12 @@ function resizeChatConversation() {
157 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 166
 function deferredFocus(id){
161 167
     setTimeout(function (){
162 168
         $(`#${id}`).focus();

Loading…
Откажи
Сачувај