mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-30 18:11:20 +02:00
Merge pull request #1341 from matrix-org/dbkr/remove_audio_element_load
Remove unnecessary 'load' on notif audio element
This commit is contained in:
commit
3c149a11ae
@ -96,7 +96,6 @@ const Notifier = {
|
|||||||
_playAudioNotification: function(ev, room) {
|
_playAudioNotification: function(ev, room) {
|
||||||
const e = document.getElementById("messageAudio");
|
const e = document.getElementById("messageAudio");
|
||||||
if (e) {
|
if (e) {
|
||||||
e.load();
|
|
||||||
e.play();
|
e.play();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user