Konstantyn Pahsura 8 лет назад
Родитель
Сommit
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();

Загрузка…
Отмена
Сохранить