From 679c62b688fe12bef409f6992a1be15cdb490dd8 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 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.7.2.5