]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Remove the `show` property from the modal plugin (#32279)
authorRohit Sharma <rohit2sharma95@gmail.com>
Mon, 30 Nov 2020 10:12:40 +0000 (15:42 +0530)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 10:12:40 +0000 (12:12 +0200)
commitc3689ac07335c1c76a9d16efc5363ed32ea6c1f3
tree2c43415e67708e80ac2b6a56a4c97f51694d5d7a
parent03ed3e0b3b0ed3449e24bf9694d3868cbde19c80
Remove the `show` property from the modal plugin (#32279)

Drop the support of show property from the modal plugin.
When creating the new modal instance in v5, the `show` property does not work anymore, so instead of fixing the behavior just removing it permanently to keep the consistency between all the plugins. (All other plugins require the `show()` method to be called on the instances to be shown)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
js/src/modal.js
site/content/docs/5.0/components/modal.md