We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa4379d + 4e4e456 commit 7cf7e42Copy full SHA for 7cf7e42
dist/js/bootstrap.js
@@ -817,7 +817,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
817
}
818
819
Modal.prototype.toggle = function (_relatedTarget) {
820
- return this[!this.isShown ? 'show' : 'hide'](_relatedTarget)
+ return this.isShown ? this.hide() : this.show(_relatedTarget)
821
822
823
Modal.prototype.show = function (_relatedTarget) {
js/modal.js
@@ -36,7 +36,7 @@
36
37
38
39
40
41
42
0 commit comments