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

Commit

Permalink
Select: Fixed error in _decideFormat
Browse files Browse the repository at this point in the history
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 Gabriel Schulhof committed May 23, 2014
1 parent d37576f commit bf06f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/forms/select.custom.js
Expand Up @@ -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;
}

Expand Down

0 comments on commit bf06f5e

Please sign in to comment.