fix resize issue in web client's prefs dialog.
This commit is contained in:
parent
ddbfb07514
commit
1abe7ce690
|
@ -215,13 +215,6 @@ function PrefsDialog(remote) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// handle orientation changes...
|
||||
var supportsOrientationChange = 'onorientationchange' in window,
|
||||
orientationEvent = supportsOrientationChange ? 'orientationchange' : 'resize';
|
||||
$('body').bind(orientationEvent, function() {
|
||||
data.elements.root.dialog('option',getDefaultMobileOptions());
|
||||
});
|
||||
},
|
||||
|
||||
getValues = function()
|
||||
|
|
Loading…
Reference in New Issue