From 28b6e9d646123d774660ebdf0124eeb8a22fe087 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 8 Oct 2019 20:29:06 +0200 Subject: Change html element type for DropDown component inside the Navbar --- .../src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt | 8 -------- 1 file changed, 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 -- cgit