aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/KVManager.kt2
1 files changed, 1 insertions, 1 deletions
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")