Bug 11431: (QA followup) Fix js error

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
Kyle M Hall 2015-08-18 14:23:12 -04:00 committed by Tomas Cohen Arazi
parent 386d36b3a3
commit f73fdc9ebb
1 changed files with 1 additions and 1 deletions

View File

@ -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>';