mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Remove dependency to "vue-scrollto" library
The UI has now one dependency less to a third party library.
This commit is contained in:
@@ -306,7 +306,7 @@ export const router = createRouter({
|
||||
if (to.path === from.path && to.hash) {
|
||||
// We are staying on the same page and are jumping to an anchor (e. g. index nav)
|
||||
// We don't have a transition, so don't add a timeout!
|
||||
return { el: to.hash, top: 120 }
|
||||
return { el: to.hash, top: 140, behavior: 'smooth' }
|
||||
}
|
||||
|
||||
if (to.hash) {
|
||||
|
||||
Reference in New Issue
Block a user