mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
re-added setting of $.mobile.activeBtnClass on selected option but only for single select lists
This commit is contained in:
parent
d6da6fed64
commit
e28ad6d95d
1 changed files with 2 additions and 0 deletions
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue