Widget:TimerTest2: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 52: | Line 52: | ||
this.Timer = $.timer(updateTimer, incrementTime, true); | this.Timer = $.timer(updateTimer, incrementTime, true); | ||
}; | }; | ||
this.play = function(){ | |||
if(!this.Timer.isActive){ | |||
this.play().once(); | |||
} | |||
this.resetTimer = function(){ | this.resetTimer = function(){ | ||
currentTime = 30000; | currentTime = 30000; |