This commit is contained in:
2023-08-08 18:48:30 +03:00
parent 280ce76a8e
commit 93771ebcf7
4 changed files with 14 additions and 8 deletions

View File

@@ -98,10 +98,14 @@ function success_check_new_messages (data) {
document.querySelector(".container-messages").innerHTML = data.html;
}
}
if (data.upd_right_panel === true){
document.querySelector(".block-list-of-users")
}
}
if (data.required_beep === true){
const beep = new Audio('/static/sounds/beep.MP3')
const beep = new Audio('/static/sounds/beep_2.mp3')
beep.play()
}
}

BIN
static/sounds/beep_2.mp3 Normal file

Binary file not shown.