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){
         $timer2.play();
         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();
         }
         }
        window.Obj1.extPlay();
     };
     }
$(init);
$(init);
});
});

Revision as of 19:08, 22 April 2014