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

Commit bf06f5e

Browse files
DickvdBrinkGabriel Schulhof
authored andcommitted
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
1 parent d37576f commit bf06f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/widgets/forms/select.custom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ $.widget( "mobile.selectmenu", $.mobile.selectmenu, {
5959
},
6060

6161
_handleButtonVclickKeydown: function( event ) {
62-
if ( this.options.disabled || this.isOpen ) {
62+
if ( this.options.disabled || this.isOpen || this.options.nativeMenu ) {
6363
return;
6464
}
6565

0 commit comments

Comments
 (0)