1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Math.round getBoundingClientRect values. resolves #792

This commit is contained in:
Kyle Spearrin
2018-12-03 11:16:26 -05:00
parent 72095c2fc6
commit 814e43999b
3 changed files with 5 additions and 5 deletions

View File

@@ -21,8 +21,8 @@ function init() {
chrome.windows.create({
url: 'popup/index.html?uilocation=popout',
type: 'popup',
width: bodyRect.width + 60,
height: bodyRect.height,
width: Math.round(bodyRect.width + 60),
height: Math.round(bodyRect.height),
});
BrowserApi.closePopup(window);
return;