From 93b766f9a4c9db36f1c899cc02c4caa24af995dc Mon Sep 17 00:00:00 2001 From: Jacob Casper Date: Thu, 18 Nov 2021 12:36:52 -0600 Subject: [PATCH] Fix home page navigation not working comment selection are not counted and so scrolling could run off the end of the home page and require using a mouse. --- hnim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hnim.js b/hnim.js index 593d56c..890852d 100644 --- a/hnim.js +++ b/hnim.js @@ -25,7 +25,7 @@ selectedElement.style.outline = ''; selectedElement = comment; selectedElement.style.outline = '1px dashed black'; - if (!visible(comment)) { + while (!visible(comment)) { callback(); } } -- 2.20.1