mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +00:00
fix resize issue in web client's prefs dialog.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user