fix hidden mselect and tn-tg checkbox state after browser back (fixes #6760)
https://stackoverflow.com/a/55927735/722291pull/7494/head
parent
e7edbd9659
commit
efefe66058
|
@ -14,6 +14,7 @@ object bits {
|
|||
tpe := "checkbox",
|
||||
cls := "mselect__toggle fullscreen-toggle",
|
||||
st.id := s"mselect-$id",
|
||||
autocomplete := "off",
|
||||
aria.label := "Other variants"
|
||||
),
|
||||
label(`for` := s"mselect-$id", cls := "mselect__label")(current),
|
||||
|
|
|
@ -287,7 +287,7 @@ object layout {
|
|||
|
||||
private val topnavToggle = spaceless(
|
||||
"""
|
||||
<input type="checkbox" id="tn-tg" class="topnav-toggle fullscreen-toggle" aria-label="Navigation">
|
||||
<input type="checkbox" id="tn-tg" class="topnav-toggle fullscreen-toggle" autocomplete="off" aria-label="Navigation">
|
||||
<label for="tn-tg" class="fullscreen-mask"></label>
|
||||
<label for="tn-tg" class="hbg"><span class="hbg__in"></span></label>"""
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue