prune: remove scroll feature
This commit is contained in:
6
main.ts
6
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) {
|
||||
|
||||
Reference in New Issue
Block a user