From d910a80f5acaa098da54c0aa5c5af9e8c1826d27 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 18 Aug 2015 14:23:12 -0400 Subject: [PATCH] Bug 11431 [QA Followup] - Fix js error --- koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 7404721..e2b5796 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.7.2.5