From e28ad6d95d108ec87f8d3c6fa30d47b73409bf14 Mon Sep 17 00:00:00 2001 From: gseguin Date: Wed, 31 Aug 2011 13:33:52 -0700 Subject: [PATCH] re-added setting of $.mobile.activeBtnClass on selected option but only for single select lists --- js/jquery.mobile.forms.select.custom.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/jquery.mobile.forms.select.custom.js b/js/jquery.mobile.forms.select.custom.js index db921ff7..d62e1f1f 100644 --- a/js/jquery.mobile.forms.select.custom.js +++ b/js/jquery.mobile.forms.select.custom.js @@ -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 ); } } });