mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
modified so that the select zoom calls manipulate the locked property, to ensure other zoom plugins don't mess with it during focus
This commit is contained in:
parent
6e12e62123
commit
9da89ff6db
1 changed files with 2 additions and 2 deletions
|
|
@ -153,12 +153,12 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
|
|||
// In many situations, iOS will zoom into the select upon tap, this prevents that from happening
|
||||
self.button.bind( "vmousedown", function() {
|
||||
if( self.options.preventFocusZoom ){
|
||||
$.mobile.zoom.disable();
|
||||
$.mobile.zoom.disable( true );
|
||||
}
|
||||
})
|
||||
.bind( "mouseup", function() {
|
||||
if( self.options.preventFocusZoom ){
|
||||
$.mobile.zoom.enable();
|
||||
$.mobile.zoom.enable( true );
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue