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

Commit

Permalink
Select: Do not copy class ui-screen-hidden from the options to the bu…
Browse files Browse the repository at this point in the history
…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
Gabriel Schulhof committed Aug 14, 2013
1 parent b5b296f commit beacbac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/widgets/forms/select.js
Expand Up @@ -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" );
})());
},

Expand Down

0 comments on commit beacbac

Please sign in to comment.