Permalink
Browse files

Select: Do not copy class ui-screen-hidden from the options to the bu…

…tton. After all, if it is the selected option, it cannot be hidden. Fixes #6225 - Filter: Filtering a SELECT element causes unexpected experience
  • Loading branch information...
gabrielschulhof committed Aug 14, 2013
1 parent b5b296f commit beacbac45481db4a2dfd648fe3de133918d7a3e7
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/widgets/forms/select.js
@@ -247,7 +247,8 @@ $.widget( "mobile.selectmenu", $.extend( {
// TODO possibly aggregate multiple select option classes
return span
.addClass( self.select.attr( "class" ) )
.addClass( selected.attr( "class" ) );
.addClass( selected.attr( "class" ) )
.removeClass( "ui-screen-hidden" );
})());
},

0 comments on commit beacbac

Please sign in to comment.