mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
Merge branch 'fix_hide_before_show_bug' of https://github.com/aaronj1335/bootstrap into aaronj1335-fix_hide_before_show_bug
This commit is contained in:
commit
7a153ac817
4
js/bootstrap-modal.js
vendored
4
js/bootstrap-modal.js
vendored
@ -100,6 +100,10 @@
|
|||||||
, hide: function (e) {
|
, hide: function (e) {
|
||||||
e && e.preventDefault()
|
e && e.preventDefault()
|
||||||
|
|
||||||
|
if (! this.isShown) {
|
||||||
|
return this
|
||||||
|
}
|
||||||
|
|
||||||
var that = this
|
var that = this
|
||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user