mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-04 20:54:46 +00:00
data-native attribute check for native select menus Fixes #847
This commit is contained in:
parent
aa234961cc
commit
244e46b8ed
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
|
||||
menuType;
|
||||
|
||||
// set to native menu
|
||||
o.useNativeMenu = select.is( "[data-native]");
|
||||
|
||||
// add counter for multi selects
|
||||
if( isMultiple ){
|
||||
self.buttonCount = $('<span>')
|
||||
|
|
|
|||
Loading…
Reference in a new issue