From 3f699e7460fb79bb0b48077dddc3359ee4b974c1 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Tue, 6 Oct 2015 17:08:39 +0200 Subject: Fix: correctly check if blinkTimer is not null --- js/codeq/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1