]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
fix(modal): change the order we return from show() method (#34087)
authoralpadev <2838324+alpadev@users.noreply.github.com>
Sun, 25 Jul 2021 17:36:11 +0000 (19:36 +0200)
committerGitHub <noreply@github.com>
Sun, 25 Jul 2021 17:36:11 +0000 (20:36 +0300)
commitb010a6f9f4ea3dda08a4792e1367730ddcf8752d
tree5b5c3138413244e028259b951de4d0128b4f0190
parent5d24fef741944c168ad0ca9cabd1509d5803e441
fix(modal): change the order we return from show() method (#34087)

In case of a modal with fading enabled, a prevented show event can cause show to not showing the modal anymore.

See #34055

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/modal.js
js/tests/unit/modal.js