Permalink
Browse files

Select: Fixed error in _decideFormat

The _decideFormat function should not be called for native select menus.

Closes gh-7382
Fixes gh-7369
  • Loading branch information...
DickvdBrink authored and gabrielschulhof committed May 8, 2014
1 parent 9310e8d commit 011c1122502b9872b030e96cd3add2435f023390
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/forms/select.custom.js
@@ -59,7 +59,7 @@ $.widget( "mobile.selectmenu", $.mobile.selectmenu, {
},
_handleButtonVclickKeydown: function( event ) {
if ( this.options.disabled || this.isOpen ) {
if ( this.options.disabled || this.isOpen || this.options.nativeMenu ) {
return;
}

0 comments on commit 011c112

Please sign in to comment.