mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-16 03:07:04 +02:00
Remove unnecessary 'load' on notif audio element
It's not necessary to explicitly load and it throws an exception if you call it while the element is playing, so better to just remove it.
This commit is contained in:
parent
006919cb44
commit
acbcc00016
@ -96,7 +96,6 @@ const Notifier = {
|
||||
_playAudioNotification: function(ev, room) {
|
||||
const e = document.getElementById("messageAudio");
|
||||
if (e) {
|
||||
e.load();
|
||||
e.play();
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user