Skip to content

Commit

Permalink
ensure isDebouncerActive returns a Boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
gronke authored and dfreedm committed Dec 9, 2015
1 parent 0206852 commit 3916493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mini/debouncer.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
*/
isDebouncerActive: function(jobName) {
var debouncer = this._debouncers[jobName];
return debouncer && debouncer.finish;
return !!(debouncer && debouncer.finish);
},

/**
Expand Down

0 comments on commit 3916493

Please sign in to comment.