prune: remove scroll feature

This commit is contained in:
Julien Calixte
2025-01-29 18:15:11 +01:00
parent 890cbde0a7
commit cc6d79246a
2 changed files with 0 additions and 10 deletions

View File

@@ -149,10 +149,6 @@
<code>text</code>: <a href="?text=hide">hide</a> text to only have the <code>text</code>: <a href="?text=hide">hide</a> text to only have the
house house
</li> </li>
<li>
<code>scroll</code>: scroll to the
<code><a href="?scroll=end">end</a></code>
</li>
</ul> </ul>
<p> <p>
Screenshot the house: Screenshot the house:

View File

@@ -60,12 +60,6 @@ if (textHide === 'hide') {
focusables.forEach((focusable) => focusable.classList.add('text-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') const primaryColorParam = params.get('primary')
if (primaryColorParam) { if (primaryColorParam) {