From 0c9f1189a40f361484cf29fd89e74d9b83aba321 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 11 Mar 2018 23:46:09 +0100 Subject: Style fix. --- src/main/kotlin/pl/treksoft/kvision/KVManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/pl') diff --git a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt index e1c169c0..7f79155d 100644 --- a/src/main/kotlin/pl/treksoft/kvision/KVManager.kt +++ b/src/main/kotlin/pl/treksoft/kvision/KVManager.kt @@ -53,7 +53,7 @@ internal object KVManager { private val bootstrapWebpack = try { val bootswatch = links.asList().find { it.getAttribute("href")?.contains("bootstrap.min.css") ?: false } if (bootswatch != null) { - if (bootswatch.getAttribute("href")?.contains("/paper/") ?: false) { + if (bootswatch.getAttribute("href")?.contains("/paper/") == true) { require("./css/paper.css") } require("bootstrap-webpack!./js/bootstrap.config.js") -- cgit