mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 20:58:17 +00: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
1 changed files with 5 additions and 1 deletions
6
js/bootstrap-modal.js
vendored
6
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
|
||||||
|
|
||||||
|
|
@ -235,4 +239,4 @@
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
}( window.jQuery || window.ender );
|
}( window.jQuery || window.ender );
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue