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 16: | Line 16: | ||
this.pause = function(){ | this.pause = function(){ | ||
this.Timer.pause().once(); | this.Timer.pause().once(); | ||
} | }; | ||
this.play = function(){ | this.play = function(){ | ||
this.play(false); | this.play(false); | ||
} | }; | ||
$(init); | $(init); | ||
}); | }); | ||
Line 31: | Line 31: | ||
if(currentTime === 0){ | if(currentTime === 0){ | ||
Obj1.pause(); | Obj1.pause(); | ||
Obj2.pause(); | |||
} | } | ||
}, | }, |