Skip to content

Commit 9da89ff

Browse files
author
scottjehl
committed
modified so that the select zoom calls manipulate the locked property, to ensure other zoom plugins don't mess with it during focus
1 parent 6e12e62 commit 9da89ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/jquery.mobile.forms.select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
153153
// In many situations, iOS will zoom into the select upon tap, this prevents that from happening
154154
self.button.bind( "vmousedown", function() {
155155
if( self.options.preventFocusZoom ){
156-
$.mobile.zoom.disable();
156+
$.mobile.zoom.disable( true );
157157
}
158158
})
159159
.bind( "mouseup", function() {
160160
if( self.options.preventFocusZoom ){
161-
$.mobile.zoom.enable();
161+
$.mobile.zoom.enable( true );
162162
}
163163
});
164164
},

0 commit comments

Comments
 (0)