diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-10-06 17:08:39 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-10-06 17:08:39 +0200 |
commit | 3f699e7460fb79bb0b48077dddc3359ee4b974c1 (patch) | |
tree | 4f9e48dbee7a1c9b59d070454b3e4eaa26259c22 /js/codeq | |
parent | f94c9c82d144690bfe24a93554e47cfa6a3b2275 (diff) |
Fix: correctly check if blinkTimer is not null
Diffstat (limited to 'js/codeq')
-rw-r--r-- | js/codeq/console.js | 2 |
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; } |