This commit is contained in:
vapormusic 2022-05-20 22:12:20 +07:00
commit 6e438c7eb7
17 changed files with 143 additions and 26 deletions

View file

@ -2184,6 +2184,13 @@ const app = new Vue({
sortArtists()
}
},
focusSearch() {
app.appRoute('search')
const search = document.getElementsByClassName("search-input")
if (search.length > 0) {
search[0].focus()
}
},
getSidebarItemClass(page) {
if (this.page == page) {
return ["active"]