mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +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) {
|
||||
e && e.preventDefault()
|
||||
|
||||
if (! this.isShown) {
|
||||
return this
|
||||
}
|
||||
|
||||
var that = this
|
||||
this.isShown = false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user