fix resize issue in web client's prefs dialog.

This commit is contained in:
Jordan Lee 2011-09-14 15:38:54 +00:00
parent ddbfb07514
commit 1abe7ce690
1 changed files with 0 additions and 7 deletions

View File

@ -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()