mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
Matching the jQuery code style guidelines.
This commit is contained in:
parent
ba99290480
commit
59e8ee3137
1 changed files with 5 additions and 4 deletions
|
|
@ -18,10 +18,11 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
|
|||
|
||||
if ( inputtype != "checkbox" && inputtype != "radio" ) { return; }
|
||||
|
||||
// Check for theme...
|
||||
if( !this.options.theme )
|
||||
this.options.theme = this.element.data('theme');
|
||||
|
||||
// If there's no selected theme...
|
||||
if( !this.options.theme ) {
|
||||
this.options.theme = this.element.data( "theme" );
|
||||
}
|
||||
|
||||
label
|
||||
.buttonMarkup({
|
||||
theme: this.options.theme,
|
||||
|
|
|
|||
Loading…
Reference in a new issue