diff options
author | Yorhel <git@yorhel.nl> | 2020-07-01 13:04:48 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-07-01 13:04:51 +0200 |
commit | 8939317270f5facdd127c1b7640842a02a76e93c (patch) | |
tree | d7d9777c0edc5d481f6aba62e87577504201965d /elm/Lib/Api.elm | |
parent | d5b13e58abee0b2edbe16705451d498e39235d77 (diff) |
Char::Edit: Abstract & revamp image voting UI
The image voting is now handled separately from form submission and
image IDs are validated when changed.
This abstraction is hopefully also usable for the VN form.
Diffstat (limited to 'elm/Lib/Api.elm')
-rw-r--r-- | elm/Lib/Api.elm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/elm/Lib/Api.elm b/elm/Lib/Api.elm index 3ad3f3aa..e09f1199 100644 --- a/elm/Lib/Api.elm +++ b/elm/Lib/Api.elm @@ -45,7 +45,6 @@ showResponse res = BadCurPass -> "Current password is invalid." MailChange -> unexp ImgFormat -> "Unrecognized image format, only JPEG and PNG are accepted." - Image _ _ _ -> unexp Releases _ -> unexp BoardResult _ -> unexp TagResult _ -> unexp |