aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/dropdown
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-03-23 13:18:22 +0100
committerRobert Jaros <rjaros@finn.pl>2018-03-23 13:18:22 +0100
commit6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28 (patch)
tree748c8cd99c49821d9f0318d27fe08730b8a5d02f /src/main/kotlin/pl/treksoft/kvision/dropdown
parent5f8790e7127df07a17f51e5641be66b7654dbb33 (diff)
downloadkvision-6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28.tar.gz
kvision-6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28.tar.bz2
kvision-6f3c026c4d70cb9c7b3ee156e988b6320e0ceb28.zip
Small fixes for links in dropdowns.
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/dropdown')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
index 4622ceca..8a37cf6c 100644
--- a/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/dropdown/DropDown.kt
@@ -190,7 +190,7 @@ open class DropDown(
DD.SEPARATOR.option -> Separator()
DD.DISABLED.option -> {
val tag = Tag(TAG.LI, classes = setOf("disabled"))
- tag.add(Link(it.first, "javascript:void(0)"))
+ tag.add(Link(it.first))
tag
}
else -> Link(it.first, it.second)