From cf58cc3d2e8d0a0bd849ade4de70f53d3352ddef Mon Sep 17 00:00:00 2001 From: typerqeo Date: Tue, 27 Oct 2020 19:26:44 -0700 Subject: [PATCH] ran prettier again --- public/index.html | 6 +++--- public/js/script.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/index.html b/public/index.html index aa47b7612..5d217a8b6 100644 --- a/public/index.html +++ b/public/index.html @@ -3155,9 +3155,9 @@ Support on Patreon or - PayPal + + PayPal +
diff --git a/public/js/script.js b/public/js/script.js index 6fff3d13a..f1ddc77ec 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1506,7 +1506,6 @@ function updateCaretPosition() { let smoothlinescroll = $("#words .smoothScroller").height(); if (smoothlinescroll === undefined) smoothlinescroll = 0; - if (config.smoothCaret) { caret.stop(true, false).animate( { @@ -4529,9 +4528,10 @@ $(document).keydown(function (event) { "ArrowLeft", "ArrowRight", "ArrowDown", - undefined + undefined, ].includes(event.key) - ) return; + ) + return; if (/F\d+/.test(event.key)) return; if (/Numpad/.test(event.key)) return; event = emulateLayout(event);