Skip to content

Commit 98dfa1b

Browse files
author
Pietro Vertechi
authored
Merge pull request #144 from piever/pv/hide
make things invisible sensibly
2 parents d1c38c2 + e39fc5b commit 98dfa1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/output.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function alert(::WidgetTheme, text = ""; value = text)
6363
}"""
6464
)
6565
Widget{:alert}(["text" => value]; scope = scp,
66-
layout = t -> node(:div, Widgets.scope(t), style = Dict("visible" => false)))
66+
layout = t -> node(:div, Widgets.scope(t), style = Dict("display" => "none")))
6767
end
6868

6969
(wdg::Widget{:alert})(text = wdg["text"][]) = (wdg["text"][] = text; return)

0 commit comments

Comments
 (0)