Update background/token-manager.js

Co-authored-by: Gusted <williamzijl7@hotmail.com>
This commit is contained in:
tophf 2021-07-30 15:12:10 +03:00 committed by GitHub
parent 1f4f6d31f1
commit 6c9b5b968a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -169,8 +169,8 @@ const tokenMan = (() => {
height,
}, wnd.state !== 'minimized' && {
// Center the popup to the current window
top: wnd.top + (wnd.height - width) / 2,
left: wnd.left + (wnd.width - width) / 2,
top: Math.ceil(wnd.top + (wnd.height - width) / 2),
left: Math.ceil(wnd.left + (wnd.width - width) / 2),
}),
});
const params = new URLSearchParams(