From 391649341b6449810191b4040f7e28ab23b5420b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gro=CC=88nke?= Date: Thu, 30 Jul 2015 20:17:58 +0200 Subject: [PATCH] ensure isDebouncerActive returns a Boolean --- src/mini/debouncer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mini/debouncer.html b/src/mini/debouncer.html index d8365fabb2..493953bcb2 100644 --- a/src/mini/debouncer.html +++ b/src/mini/debouncer.html @@ -52,7 +52,7 @@ */ isDebouncerActive: function(jobName) { var debouncer = this._debouncers[jobName]; - return debouncer && debouncer.finish; + return !!(debouncer && debouncer.finish); }, /**