From 5bd98c99b7cf93303cda21029ee7dc6b15184003 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 12 Oct 2022 17:59:57 +0200 Subject: Prevent cursor removal --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index eae5fb3..da1167b 100644 --- a/index.js +++ b/index.js @@ -35,8 +35,8 @@ let CW = function(){ cursor.direction = "down"; me.innerHTML = "▼"; } else { - cursor = undefined; - me.innerHTML = ""; + cursor.direction = "right"; + me.innerHTML = "▶"; } } }; -- cgit v1.2.3