Permalink
Browse files

Select: Fixed error in _decideFormat

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

(cherry picked from commit 011c112)

Closes gh-7382
Fixes gh-7369
  • Loading branch information...
DickvdBrink authored and gabrielschulhof committed May 8, 2014
1 parent d37576f commit bf06f5ec91e575d73ad727427accfe20fff456a8
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 bf06f5e

Please sign in to comment.