summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/codeq/console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/console.js b/js/codeq/console.js
index 20f3a90..566a2b7 100644
--- a/js/codeq/console.js
+++ b/js/codeq/console.js
@@ -866,7 +866,7 @@
cursorBlinkRate = (options && options.cursorBlinkRate) || 750, // default: 750 ms
blinkTimer = null,
renderCursor = function () {
- if (blinkTimer) {
+ if (blinkTimer !== null) {
clearInterval(blinkTimer);
blinkTimer = null;
}