aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt b/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
index b77e8e2e..e09e9f7f 100644
--- a/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/modal/Modal.kt
@@ -229,6 +229,7 @@ open class Modal(
})
this.getElementJQuery()?.on("hidden.bs.modal", { e, _ ->
this.visible = false
+ hide()
this.dispatchEvent("hiddenBsModal", obj { detail = e })
})
}