summaryrefslogtreecommitdiff
path: root/js/codeq
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-10-06 17:08:39 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-10-06 17:08:39 +0200
commit3f699e7460fb79bb0b48077dddc3359ee4b974c1 (patch)
tree4f9e48dbee7a1c9b59d070454b3e4eaa26259c22 /js/codeq
parentf94c9c82d144690bfe24a93554e47cfa6a3b2275 (diff)
Fix: correctly check if blinkTimer is not null
Diffstat (limited to 'js/codeq')
-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;
}