From: lucascono Date: Wed, 4 Oct 2017 09:08:34 +0000 (-0300) Subject: Fix modal bug X-Git-Tag: v4.0.0-beta.2~93^2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b6537bef36c7eddd3c3ddbd35dabafbbfbb03de;p=thirdparty%2Fbootstrap.git Fix modal bug Fix for issue #24117 --- diff --git a/js/src/modal.js b/js/src/modal.js index fb787208d8..1ea630c415 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 }