[web] Cleanup of code to simplify

Useless methods have been removed and code has been partially cleaned up.
This commit is contained in:
Alain Nussbaumer
2023-06-07 21:25:54 +02:00
parent 3a1cc63e8f
commit 387e531d64
84 changed files with 355 additions and 362 deletions

View File

@@ -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
}
}