mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
preventFocusZoom default is true on iOS platforms, false otherwise, as it is only here to address an iOS bug.
This commit is contained in:
parent
f5260ab9e5
commit
b39c320bec
1 changed files with 2 additions and 1 deletions
|
|
@ -21,7 +21,8 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
hidePlaceholderMenuItems: true,
|
||||
closeText: "Close",
|
||||
nativeMenu: true,
|
||||
preventFocusZoom: true,
|
||||
// This option defaults to true on iOS devices.
|
||||
preventFocusZoom: /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ) > -1,
|
||||
initSelector: "select:not(:jqmData(role='slider'))"
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue