mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Fix scroll to top
This commit is contained in:
@ -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