summaryrefslogtreecommitdiff
path: root/elm/Lib/Api.elm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-07-01 13:04:48 +0200
committerYorhel <git@yorhel.nl>2020-07-01 13:04:51 +0200
commit8939317270f5facdd127c1b7640842a02a76e93c (patch)
treed7d9777c0edc5d481f6aba62e87577504201965d /elm/Lib/Api.elm
parentd5b13e58abee0b2edbe16705451d498e39235d77 (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.elm1
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