From 817624351f24bb706b37cb8f1135c3713a6b6d66 Mon Sep 17 00:00:00 2001 From: Caleb Date: Fri, 2 Nov 2018 07:48:26 -0600 Subject: [PATCH] fix(auth): scrollbars not appearing in auth window (#1766) --- packages/netlify-cms-lib-auth/src/netlify-auth.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/netlify-cms-lib-auth/src/netlify-auth.js b/packages/netlify-cms-lib-auth/src/netlify-auth.js index 5dbc3faa..f1c2576d 100644 --- a/packages/netlify-cms-lib-auth/src/netlify-auth.js +++ b/packages/netlify-cms-lib-auth/src/netlify-auth.js @@ -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(); }