Disable certain settings
This commit is contained in:
parent
49a6d8b7fa
commit
4dfb14904a
@ -20,9 +20,9 @@ component Settings(user *arn.User)
|
|||||||
InputText("Accounts.AnimePlanet.Nick", user.Accounts.Kitsu.Nick, "Kitsu", "Your username on kitsu.io")
|
InputText("Accounts.AnimePlanet.Nick", user.Accounts.Kitsu.Nick, "Kitsu", "Your username on kitsu.io")
|
||||||
InputText("Accounts.AnimePlanet.Nick", user.Accounts.AnimePlanet.Nick, "AnimePlanet", "Your username on anime-planet.com")
|
InputText("Accounts.AnimePlanet.Nick", user.Accounts.AnimePlanet.Nick, "AnimePlanet", "Your username on anime-planet.com")
|
||||||
|
|
||||||
.widget.mountable(data-api="/api/settings/" + user.ID)
|
//- .widget.mountable(data-api="/api/settings/" + user.ID)
|
||||||
h3.widget-title
|
//- h3.widget-title
|
||||||
Icon("cogs")
|
//- Icon("cogs")
|
||||||
span Settings
|
//- span Settings
|
||||||
|
|
||||||
InputText("TitleLanguage", user.Settings().TitleLanguage, "Title language", "Language of anime titles")
|
//- InputText("TitleLanguage", user.Settings().TitleLanguage, "Title language", "Language of anime titles")
|
@ -158,8 +158,8 @@ export class AnimeNotifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onKeyDown(e: KeyboardEvent) {
|
onKeyDown(e: KeyboardEvent) {
|
||||||
// Ctrl + Q = Search
|
// F = Search
|
||||||
if(e.ctrlKey && e.keyCode == 81) {
|
if(e.keyCode == 70) {
|
||||||
let search = this.app.find("search") as HTMLInputElement
|
let search = this.app.find("search") as HTMLInputElement
|
||||||
|
|
||||||
search.focus()
|
search.focus()
|
||||||
|
Loading…
Reference in New Issue
Block a user