Lines 122-128
function confirmDelete(message) {
Link Here
|
122 |
} |
122 |
} |
123 |
|
123 |
|
124 |
function playSound( sound ) { |
124 |
function playSound( sound ) { |
125 |
if ( ! ( sound.indexOf('http://') == 0 || sound.indexOf('https://') == 0 ) { |
125 |
if ( ! ( sound.indexOf('http://') == 0 || sound.indexOf('https://') == 0 ) ) { |
126 |
sound = AUDIO_ALERT_PATH + sound; |
126 |
sound = AUDIO_ALERT_PATH + sound; |
127 |
} |
127 |
} |
128 |
document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>'; |
128 |
document.getElementById("audio-alert").innerHTML = '<audio src="' + sound + '" autoplay="autoplay" autobuffer="autobuffer"></audio>'; |
129 |
- |
|
|