summaryrefslogtreecommitdiff
path: root/elm/Lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-10-25 12:02:35 +0100
committerYorhel <git@yorhel.nl>2020-10-28 09:32:45 +0100
commit960946ac90a8da32953a4a21128d993f2049f8d1 (patch)
treedcb9e0006c2afe79143141b1526d6ec7e11bc11a /elm/Lib
parent3e3f36d3459d0db851c09315fcd74155735d9859 (diff)
Advsearch: Initial experiments with a new advanced search
Doing this on the main branch to make it easier to get early testing and feedback. Not like I have anything worth testing now, but it's not like this code is getting in the way of anything else. (Unless the changes broke something unrelated, in which case it's extra good to get that early testing)
Diffstat (limited to 'elm/Lib')
-rw-r--r--elm/Lib/DropDown.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Lib/DropDown.elm b/elm/Lib/DropDown.elm
index 1e6204ac..3de02f11 100644
--- a/elm/Lib/DropDown.elm
+++ b/elm/Lib/DropDown.elm
@@ -64,5 +64,5 @@ view conf status lbl cont =
Api.Loading -> [ lbl, span [] [ span [ class "spinner" ] [] ] ]
Api.Error e -> [ b [ class "standout" ] [ text "error" ], span [] [ i [] [ text "▾" ] ] ]
, div [ classList [("hidden", not conf.opened)] ]
- <| if conf.opened then cont () else [ text "" ]
+ [ if conf.opened then div [] (cont ()) else text "" ]
]