diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-08 20:29:06 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-08 20:29:06 +0200 |
commit | 28b6e9d646123d774660ebdf0124eeb8a22fe087 (patch) | |
tree | 1f016c960d30abdb2de02aa980a7db16dfe32e0f /kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft | |
parent | bb16c08ab495c51765f69f39ad278454a36274bc (diff) | |
download | kvision-28b6e9d646123d774660ebdf0124eeb8a22fe087.tar.gz kvision-28b6e9d646123d774660ebdf0124eeb8a22fe087.tar.bz2 kvision-28b6e9d646123d774660ebdf0124eeb8a22fe087.zip |
Change html element type for DropDown component inside the Navbar
Diffstat (limited to 'kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft')
-rw-r--r-- | kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt index 9862b322..609a0a27 100644 --- a/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt +++ b/kvision-modules/kvision-bootstrap/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt @@ -166,14 +166,6 @@ open class DropDown( counter++ } - override fun render(): VNode { - return if (forNavbar) { - render("li", childrenVNodes()) - } else { - render("div", childrenVNodes()) - } - } - override fun add(child: Component): SimplePanel { list.add(child) return this |