0.0.84
This commit is contained in:
@@ -70,8 +70,7 @@ function check_new_messages (window,it){
|
||||
data: JSON.stringify(data_new_messages),
|
||||
success: function(data){
|
||||
success_check_new_messages(data)
|
||||
const beep = new Audio('/static/sounds/beep.MP3');
|
||||
beep.play()
|
||||
|
||||
},
|
||||
error: function (data){
|
||||
|
||||
@@ -100,4 +99,9 @@ function success_check_new_messages (data) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (data.required_beep === true){
|
||||
const beep = new Audio('/static/sounds/beep.MP3')
|
||||
beep.play()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user