Bläddra i källkod

doc added

master
Konstantyn Pahsura 8 år sedan
förälder
incheckning
00aee89709
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6
    0
      modules/UI/side_pannels/chat/Chat.js

+ 6
- 0
modules/UI/side_pannels/chat/Chat.js Visa fil

@@ -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();

Laddar…
Avbryt
Spara