mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 13:06:09 +03:00
dropdown btn class fixed
This commit is contained in:
parent
457ccb236d
commit
4cc9fc442c
@ -127,7 +127,7 @@
|
||||
^- manx
|
||||
;button
|
||||
=type "button"
|
||||
=onclick (trip 'this.classList.toggle("toggled"); this.parentNode.nextElementSibling.classList.toggle("hidden"); if (this.parentNode.nextElementSibling.classList.contains("hidden")){this.innerHTML="<span>V</span>"} else {this.innerHTML="<span>⋀</span>"};')
|
||||
=onclick (trip 'this.classList.toggle("toggled"); this.parentNode.nextElementSibling.classList.toggle("hidden"); if (this.parentNode.nextElementSibling.classList.contains("hidden")){this.innerHTML="<span class=\'p1\'>V</span>"} else {this.innerHTML="<span class=\'p1\'>⋀</span>"};')
|
||||
;span.p1: V
|
||||
==
|
||||
;a
|
||||
|
Loading…
Reference in New Issue
Block a user