diff options
-rw-r--r-- | src/app/js/navigate.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app/js/navigate.js b/src/app/js/navigate.js index 5665687..f739aad 100644 --- a/src/app/js/navigate.js +++ b/src/app/js/navigate.js @@ -457,6 +457,10 @@ navigate.move = async (direction) => { } } + if (scroll_el.closest("#modsdiv .el")) { + return; + } + // scroll `scroll_el` smoothly into view, centered scroll_el.scrollIntoView({ block: "center", |