aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlucascono <[email protected]>2017-10-04 06:08:34 -0300
committerlucascono <[email protected]>2017-10-04 06:08:34 -0300
commit4b6537bef36c7eddd3c3ddbd35dabafbbfbb03de (patch)
tree2f0e4e46193456cf37221710a313e8c98235bf96
parent8c04a74c8c7f0174ea08bc02fa3762f49bf615a3 (diff)
downloadbootstrap-4b6537bef36c7eddd3c3ddbd35dabafbbfbb03de.tar.xz
bootstrap-4b6537bef36c7eddd3c3ddbd35dabafbbfbb03de.zip
Fix modal bug
Fix for issue #24117
-rw-r--r--js/src/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/modal.js b/js/src/modal.js
index fb787208d..1ea630c41 100644
--- a/js/src/modal.js
+++ b/js/src/modal.js
@@ -113,7 +113,7 @@ const Modal = (() => {
}
show(relatedTarget) {
- if (this._isTransitioning) {
+ if (this._isTransitioning || this._isShown) {
return
}