2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

remove options check in modal.js

This commit is contained in:
Jacob Thornton
2011-10-02 22:26:26 -07:00
parent b2b8a78971
commit f8be7a8052
+3 -5
View File
@@ -57,12 +57,10 @@
this.$element = $(content)
.delegate('.close', 'click.modal', $.proxy(this.hide, this))
if ( options ) {
$.extend( this.settings, options )
$.extend( this.settings, options )
if ( this.settings.show ) {
this.show()
}
if ( this.settings.show ) {
this.show()
}
return this