Bug 11431: (QA followup) Fix js error
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 18 Aug 2015 18:23:12 +0000 (14:23 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Nov 2015 15:32:58 +0000 (12:32 -0300)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js

index af4a3e1..92ba935 100644 (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>';