mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-12 00:08:59 +01:00
remove options check in modal.js
This commit is contained in:
parent
b2b8a78971
commit
f8be7a8052
2
js/bootstrap-modal.js
vendored
2
js/bootstrap-modal.js
vendored
@ -57,13 +57,11 @@
|
|||||||
this.$element = $(content)
|
this.$element = $(content)
|
||||||
.delegate('.close', 'click.modal', $.proxy(this.hide, this))
|
.delegate('.close', 'click.modal', $.proxy(this.hide, this))
|
||||||
|
|
||||||
if ( options ) {
|
|
||||||
$.extend( this.settings, options )
|
$.extend( this.settings, options )
|
||||||
|
|
||||||
if ( this.settings.show ) {
|
if ( this.settings.show ) {
|
||||||
this.show()
|
this.show()
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user