This commit is contained in:
2023-08-08 19:04:02 +03:00
parent e1c7a04ccc
commit f8ed2b6fd2

View File

@@ -99,12 +99,13 @@ function success_check_new_messages (data) {
} }
} }
if (data.users_list_html){ if (data.users_list_html){
document.querySelector(".block-list-of-users").innerHTML = data.html; document.querySelector(".block-list-of-users").innerHTML = data.users_list_html.html;
} }
} }
if (data.required_beep === true){ if (data.required_beep === true){
const beep = new Audio('/static/sounds/beep_2.mp3') const beep = new Audio('/static/sounds/beep_2.mp3')
beep.play() beep.play()
} }