aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Banegas <[email protected]>2017-10-04 06:13:36 -0300
committerGitHub <[email protected]>2017-10-04 06:13:36 -0300
commitcc2f5f71aedefce01e6c977661af7dc9840a8397 (patch)
tree2f0e4e46193456cf37221710a313e8c98235bf96
parent8c04a74c8c7f0174ea08bc02fa3762f49bf615a3 (diff)
parent4b6537bef36c7eddd3c3ddbd35dabafbbfbb03de (diff)
downloadbootstrap-cc2f5f71aedefce01e6c977661af7dc9840a8397.tar.xz
bootstrap-cc2f5f71aedefce01e6c977661af7dc9840a8397.zip
Merge pull request #1 from lucascono/v4-dev-modal-fix
Fix modal bug
-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
}