Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
re-added setting of $.mobile.activeBtnClass on selected option but on…
Browse files Browse the repository at this point in the history
…ly for single select lists
  • Loading branch information
gseguin committed Aug 31, 2011
1 parent d6da6fe commit e28ad6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/jquery.mobile.forms.select.custom.js
Expand Up @@ -232,6 +232,8 @@
// Multiple selects: add the "on" checkbox state to the icon
if ( self.isMultiple ) {
item.find( ".ui-icon" ).removeClass( "ui-icon-checkbox-off" ).addClass( "ui-icon-checkbox-on" );
} else {
item.addClass( $.mobile.activeBtnClass );
}
}
});
Expand Down

0 comments on commit e28ad6d

Please sign in to comment.