mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 23:04:32 +02:00
updated if statement form
This commit is contained in:
4
js/bootstrap-modal.js
vendored
4
js/bootstrap-modal.js
vendored
@@ -100,7 +100,9 @@
|
|||||||
, hide: function (e) {
|
, hide: function (e) {
|
||||||
e && e.preventDefault()
|
e && e.preventDefault()
|
||||||
|
|
||||||
if (! this.isShown) return
|
if (! this.isShown) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
var that = this
|
var that = this
|
||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
Reference in New Issue
Block a user