summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-02-16 08:41:24 +0100
committerYorhel <git@yorhel.nl>2020-02-16 08:41:26 +0100
commite28febd462b67bff2baaf9bb05edf999a5912cd9 (patch)
tree7fa81d28da8ceeb6bdeba16c4b6bdabb4971656a
parent17d104547f5faa287f53c7253ab2917db5820794 (diff)
Tagmod.elm: Allow setting a note when downvoting a tag
https://vndb.org/t13470.23
-rw-r--r--elm/Tagmod.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Tagmod.elm b/elm/Tagmod.elm
index 231d3199..b8ca41cc 100644
--- a/elm/Tagmod.elm
+++ b/elm/Tagmod.elm
@@ -155,7 +155,7 @@ viewTag t sel vid mod =
, a [ href "#", onMouseOver (SetSel t.id (Spoil (Just 2))), onMouseOut (SetSel 0 NoSel), onClickD (SetSpoil t.id (Just 2)), classList [("s2", spoil == Just 2 )], title "Major spoiler" ] []
]
, td [ class "tc_mynote" ] <|
- if t.vote <= 0 then [] else
+ if t.vote == 0 then [] else
[ span
[ onMouseOver (SetSel t.id Note)
, onMouseOut (SetSel 0 NoSel)