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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now