Merge branch 'main' of https://github.com/ciderapp/Cider
This commit is contained in:
commit
6e438c7eb7
17 changed files with 143 additions and 26 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue