mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-15 12:04:35 +00:00
Fix scroll to top
This commit is contained in:
1 parent
5343d1b06e
commit
b1509c3f6a
2 files changed
+2
-2
No files matched your search
@@ -15,7 +15,7 @@ function scrollToTop(scrollToElementSelector, triggerElementSelector) {
|
||||
scrolltoTopTrigger.onclick = () => {
|
||||
scrollToThis.scrollIntoView({
|
||||
behavior: 'smooth',
|
||||
block: 'end',
|
||||
block: 'start',
|
||||
inline: 'nearest'
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user