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 29: | Line 29: | ||
this.extPause = function(){ | this.extPause = function(){ | ||
if(this.Timer.isActive){ | if(this.Timer.isActive){ | ||
this.pause().once(); | this.Timer.pause().once(); | ||
} | } | ||
} | } | ||
this.extPlay = function(){ | this.extPlay = function(){ | ||
if(!this.isActive){ | if(!this.isActive){ | ||
this.play().once(); | this.Timer.play().once(); | ||
} | } | ||
}; | }; | ||
Line 59: | Line 59: | ||
this.extPlay = function(){ | this.extPlay = function(){ | ||
if(!this.isActive){ | if(!this.isActive){ | ||
this.play().once(); | this.Timer.play().once(); | ||
} | } | ||
} | } |