0.0.104
This commit is contained in:
@@ -9,7 +9,10 @@ window.onload = function () {
|
||||
|
||||
function funcFocus(){
|
||||
|
||||
document.querySelector(".enter-message-inp").focus()
|
||||
let inp = document.querySelector(".enter-message-inp")
|
||||
if (inp !== null){
|
||||
inp.focus()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
<div class="footer-chat{% if not new_msg_allow %} hide{% endif %}">
|
||||
<div class="left-part-block-enter-message">
|
||||
<input class="enter-message-inp" onkeypress="sendMessageEnter(event,{{ ticket.id }},{{ user.id }},{{ ticket.owner.id }})" placeholder="Отправить сообщение">
|
||||
<input class="enter-message-inp" onfocus="check_new_messages_timeout()" onkeypress="sendMessageEnter(event,{{ ticket.id }},{{ user.id }},{{ ticket.owner.id }})" placeholder="Отправить сообщение">
|
||||
</div>
|
||||
<div class="right-part-block-enter-message">
|
||||
<button class="attach-file-btn-message" onclick="attachFilemeassge()"></button>
|
||||
|
||||
Reference in New Issue
Block a user