mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
remove options check in modal.js
This commit is contained in:
Vendored
+3
-5
@@ -57,12 +57,10 @@
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user