Francesco Posted September 22, 2011 Posted September 22, 2011 (edited) CauseWPI tries to execute the exit sound even when the main window has not still been completely created.Fixin timers.js replace StopSound(); document.getElementById("TimerSound").src=ReplacePath(soundfile).replace(/\"/g,''); with var TimerSoundElement = document.getElementById("TimerSound"); if (TimerSoundElement) { StopSound(); TimerSoundElement.src=ReplacePath(soundfile).replace(/\"/g,''); } Edited September 22, 2011 by Francesco
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now