From 58440e137b70ab64e22e686738eeda57da6ddd86 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 18 Aug 2015 14:23:12 -0400 Subject: [PATCH] [PASSED QA] Bug 11431 [QA Followup] - Fix js error Signed-off-by: Katrin Fischer --- koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js index af4a3e1..92ba935 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js @@ -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 = ''; -- 1.9.1