Skip to content

Commit 3916493

Browse files
gronkedfreedm
authored andcommitted
ensure isDebouncerActive returns a Boolean
1 parent 0206852 commit 3916493

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/mini/debouncer.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
*/
5353
isDebouncerActive: function(jobName) {
5454
var debouncer = this._debouncers[jobName];
55-
return debouncer && debouncer.finish;
55+
return !!(debouncer && debouncer.finish);
5656
},
5757

5858
/**

0 commit comments

Comments
 (0)