Pomodoro clock help

Hello, My pomodoro clock seems to have a glitch. When I press my start button twice, it seems to speed up the countdown, and I’m trying to prohibit that. Any ideas? Here is my code:

That’s because you set a new timer every time the start button is clicked. In the event handlere you should put a test to see if the timer is already running before starting a new timer.

Also when I hit reset it displays: 24:0060

Thanks guys. I fixed the bugs I believe.

Hey guys, I noticed that this problem occurs even after I put an event.preventDefault() within the onclick event for the start button. This only seems to solve the problem in Firefox, but not in other browsers like IE or Chrome. Any ideas?