Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[custom select] Add ui-btn-down-<theme> to initially focused menu ite…

…m to make tab selection consistent
  • Loading branch information...
commit 73631d38d799a36854a31d03a9bc599e3cf871bd 1 parent 2cfc8f6
@gabrielschulhof gabrielschulhof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/widgets/forms/select.custom.js
View
2  js/widgets/forms/select.custom.js
@@ -355,7 +355,7 @@ define( [
if ( selector.length === 0 ) {
selector = self.list.find( "li.ui-btn:not(:jqmData(placeholder='true')) a" );
}
- selector.first().focus();
+ selector.first().focus().closest( "li" ).addClass( "ui-btn-down-" + widget.options.theme );
}
if ( menuHeight > screenHeight - 80 || !$.support.scrollTop ) {
Please sign in to comment.
Something went wrong with that request. Please try again.