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 58: | Line 58: | ||
this.extPlay = function(){ | this.extPlay = function(){ | ||
if(!this.isActive){ | if(!this.isActive){ | ||
this.Timer.play(); | |||
} | } | ||
} | }; | ||
this.resetTimer = function(){ | this.resetTimer = function(){ | ||
currentTime = 30000; | currentTime = 30000; | ||
window.Obj1.extPlay(); | |||
if(!this.isActive){ | if(!this.isActive){ | ||
window.Obj2.extPlay(); | window.Obj2.extPlay(); | ||
} | } | ||
}; | |||
} | |||
$(init); | $(init); | ||
}); | }); |