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.
pull/21833/head
David Baker 2017-08-26 15:15:51 +01:00
parent 006919cb44
commit acbcc00016
1 changed files with 0 additions and 1 deletions

View File

@ -96,7 +96,6 @@ const Notifier = {
_playAudioNotification: function(ev, room) {
const e = document.getElementById("messageAudio");
if (e) {
e.load();
e.play();
}
},