mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 21:49:48 -05:00
[web] Cleanup of code to simplify
Useless methods have been removed and code has been partially cleaned up.
This commit is contained in:
@@ -83,11 +83,11 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
scroll_to_top: function () {
|
||||
scroll_to_top() {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' })
|
||||
},
|
||||
|
||||
scroll_to_content: function () {
|
||||
scroll_to_content() {
|
||||
if (this.$route.meta.has_tabs) {
|
||||
this.$scrollTo('#top', { offset: -140 })
|
||||
} else {
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
}
|
||||
},
|
||||
|
||||
visibilityChanged: function (isVisible) {
|
||||
visibilityChanged(isVisible) {
|
||||
this.options_visible = isVisible
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user