View | Details | Raw Unified | Return to bug 39484
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt (-2 / +1 lines)
Lines 438-445 Link Here
438
                    function playSound( sound ) {
438
                    function playSound( sound ) {
439
                        if (!(sound.indexOf("http://") === 0 || sound.indexOf("https://") === 0)) {
439
                        if (!(sound.indexOf("http://") === 0 || sound.indexOf("https://") === 0)) {
440
                            sound = '[% interface | html %]' + '/bootstrap/sound/' + sound;
440
                            sound = '[% interface | html %]' + '/bootstrap/sound/' + sound;
441
                            document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>';
442
                        }
441
                        }
442
                        document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>';
443
                    }
443
                    }
444
                [% END %]
444
                [% END %]
445
445
446
- 

Return to bug 39484