From cc6d79246a3e368d5ded3b38ab66b8daa94b366d Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Wed, 29 Jan 2025 18:15:11 +0100 Subject: [PATCH] prune: remove scroll feature --- index.html | 4 ---- main.ts | 6 ------ 2 files changed, 10 deletions(-) diff --git a/index.html b/index.html index 3bcffa5..d724253 100644 --- a/index.html +++ b/index.html @@ -149,10 +149,6 @@ text: hide text to only have the house -
  • - scroll: scroll to the - end -
  • Screenshot the house: diff --git a/main.ts b/main.ts index 2d9b9be..29dfeb4 100644 --- a/main.ts +++ b/main.ts @@ -60,12 +60,6 @@ if (textHide === 'hide') { focusables.forEach((focusable) => focusable.classList.add('text-hide')) } -const scrollParam = params.get('scroll') - -if (scrollParam === 'end') { - window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }) -} - const primaryColorParam = params.get('primary') if (primaryColorParam) {