Fixed add-anime-lists patch
This commit is contained in:
parent
067f6bfa2a
commit
4ba516f8f3
@ -19,7 +19,9 @@ func main() {
|
||||
|
||||
// Iterate over the stream
|
||||
for user := range allUsers {
|
||||
if user.AnimeList() == nil {
|
||||
exists, err := arn.DB.Exists("AnimeList", user.ID)
|
||||
|
||||
if err == nil && !exists {
|
||||
fmt.Println(user.Nick)
|
||||
|
||||
err := arn.DB.Set("AnimeList", user.ID, &arn.AnimeList{
|
||||
|
@ -65,8 +65,8 @@ export function search(arn: AnimeNotifier, search: HTMLInputElement, e: Keyboard
|
||||
history.replaceState("search", null, "/search/" + term)
|
||||
}
|
||||
|
||||
if(!term) {
|
||||
arn.app.content.innerHTML = "No search term."
|
||||
if(!term || term.length < 2) {
|
||||
arn.app.content.innerHTML = "Please enter at least 2 characters to start searching."
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -12,7 +12,7 @@ input, textarea
|
||||
|
||||
:focus
|
||||
color black
|
||||
border 1px solid main-color !important
|
||||
border 1px solid main-color
|
||||
// TODO: Replace with alpha(main-color, 20%) function
|
||||
box-shadow 0 0 6px rgba(248, 165, 130, 0.2)
|
||||
|
||||
|
@ -47,12 +47,13 @@
|
||||
border-radius 0
|
||||
background text-color
|
||||
border none
|
||||
|
||||
color white
|
||||
font-size 1em
|
||||
min-width 0
|
||||
|
||||
:focus
|
||||
border none !important
|
||||
border none
|
||||
box-shadow none
|
||||
|
||||
.extra-navigation
|
||||
|
Loading…
Reference in New Issue
Block a user