mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 10:28:32 +00:00
fix 'scrollTo is not a function' error reported in IRC.
This commit is contained in:
@@ -235,7 +235,8 @@ function PrefsDialog(remote) {
|
||||
|
||||
onDialogClosed = function()
|
||||
{
|
||||
window.scrollTo(0,1);
|
||||
transmission.hideMobileAddressbar();
|
||||
|
||||
$(data.dialog).trigger('closed', getValues());
|
||||
};
|
||||
|
||||
@@ -290,7 +291,7 @@ function PrefsDialog(remote) {
|
||||
|
||||
this.show = function ()
|
||||
{
|
||||
window.scrollTo(0,1);
|
||||
transmission.hideMobileAddressbar();
|
||||
|
||||
setBlocklistButtonEnabled(true);
|
||||
data.remote.checkPort(onPortChecked,this);
|
||||
|
||||
Reference in New Issue
Block a user