mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-20 14:20:59 +00:00
fixedcustom select extension to respect the prototype alterations Fixes #2272
This commit is contained in:
parent
781c2430f5
commit
cfe12241a2
1 changed files with 4 additions and 2 deletions
|
|
@ -459,9 +459,11 @@
|
|||
});
|
||||
};
|
||||
|
||||
$( "select:jqmData(native-menu='false')" ).live( "selectmenubeforecreate", function(){
|
||||
$( "select" ).live( "selectmenubeforecreate", function(){
|
||||
var selectmenuWidget = $( this ).data( "selectmenu" );
|
||||
|
||||
extendSelect( selectmenuWidget );
|
||||
if( !selectmenuWidget.options.nativeMenu ){
|
||||
extendSelect( selectmenuWidget );
|
||||
}
|
||||
});
|
||||
})( jQuery );
|
||||
|
|
|
|||
Loading…
Reference in a new issue