fix 'scrollTo is not a function' error reported in IRC.
This commit is contained in:
parent
dab5fe6bfd
commit
854c5542eb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue