mirror of https://github.com/vector-im/riot-web
Update src/Notifier.js
Co-Authored-By: Travis Ralston <travpc@gmail.com>pull/21833/head
parent
300095f50f
commit
673a8fcb9d
|
@ -137,7 +137,7 @@ const Notifier = {
|
|||
let audioElement = selector;
|
||||
if (!selector) {
|
||||
if (!sound) {
|
||||
console.error("Tried to play alert sound but missing #messageAudio");
|
||||
console.error("No audio element or sound to play for notification");
|
||||
return;
|
||||
}
|
||||
audioElement = new Audio(sound.url);
|
||||
|
|
Loading…
Reference in New Issue