fix(auth): scrollbars not appearing in auth window (#1766)

This commit is contained in:
Caleb 2018-11-02 07:48:26 -06:00 committed by Shawn Erquhart
parent 12418dd7f0
commit 817624351f

View File

@ -126,16 +126,7 @@ class Authenticator {
this.authWindow = window.open(
url,
'Netlify Authorization',
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, ' +
('width=' +
conf.width +
', height=' +
conf.height +
', top=' +
top +
', left=' +
left +
');'),
`width=${conf.width}, height=${conf.height}, top=${top}, left=${left}`,
);
this.authWindow.focus();
}