aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-03-11 23:46:09 +0100
committerRobert Jaros <rjaros@finn.pl>2018-03-11 23:46:09 +0100
commit0c9f1189a40f361484cf29fd89e74d9b83aba321 (patch)
tree006ec8330b0636948ad99142d56fe75ed0ca0673 /src
parent8af92325f5c0981e7678136a8f12590373ad9e2f (diff)
downloadkvision-0c9f1189a40f361484cf29fd89e74d9b83aba321.tar.gz
kvision-0c9f1189a40f361484cf29fd89e74d9b83aba321.tar.bz2
kvision-0c9f1189a40f361484cf29fd89e74d9b83aba321.zip
Style fix.
Diffstat (limited to 'src')
-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")