This commit is contained in:
2023-08-11 14:11:50 +03:00
parent d53d16071e
commit fbe54ad65a
2 changed files with 5 additions and 2 deletions

View File

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