Bug 11431: (QA followup) Fix js error
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
386d36b3a3
commit
f73fdc9ebb
|
|
@ -122,7 +122,7 @@ function confirmDelete(message) {
|
|||
}
|
||||
|
||||
function playSound( sound ) {
|
||||
if ( ! ( sound.indexOf('http://') == 0 || sound.indexOf('https://') == 0 ) {
|
||||
if ( ! ( sound.indexOf('http://') == 0 || sound.indexOf('https://') == 0 ) ) {
|
||||
sound = AUDIO_ALERT_PATH + sound;
|
||||
}
|
||||
document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue