Skip to content

Commit 59e8ee3

Browse files
committed
Matching the jQuery code style guidelines.
1 parent ba99290 commit 59e8ee3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

js/jquery.mobile.forms.checkboxradio.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ $.widget( "mobile.checkboxradio", $.mobile.widget, {
1818

1919
if ( inputtype != "checkbox" && inputtype != "radio" ) { return; }
2020

21-
// Check for theme...
22-
if( !this.options.theme )
23-
this.options.theme = this.element.data('theme');
24-
21+
// If there's no selected theme...
22+
if( !this.options.theme ) {
23+
this.options.theme = this.element.data( "theme" );
24+
}
25+
2526
label
2627
.buttonMarkup({
2728
theme: this.options.theme,

0 commit comments

Comments
 (0)