From b48c7ba3834f6a085ad1fe095263e501caf9d5da Mon Sep 17 00:00:00 2001 From: BlazeInferno64 <96913755+BlazeInferno64@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:12:14 +0530 Subject: [PATCH] Add files via upload --- index.html | 1 + public/js/script.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/index.html b/index.html index 1f1f562..3cf0c9c 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + NotePlus | Free Text Editor Online diff --git a/public/js/script.js b/public/js/script.js index 41fff13..484653d 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -476,6 +476,9 @@ document.addEventListener("keydown", (e) => { if (e.ctrlKey){ isCtrlPressed = true; } + else{ + isCtrlPressed = false; + } }); document.addEventListener("keyup", (e) => {