Skip to content

Commit

Permalink
Fix clearTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ocetnik committed Nov 18, 2018
1 parent f28823a commit 855403b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class BackgroundTimer {

stopBackgroundTimer() {
this.stop();
clearTimeout(this.backgroundTimer);
this.clearTimeout(this.backgroundTimer);
}

// New API, allowing for multiple timers
Expand Down

0 comments on commit 855403b

Please sign in to comment.