diff --git a/jslib b/jslib index 739d308498..5609fecbce 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 739d308498ab68df3e37772265733c81b27f2cc2 +Subproject commit 5609fecbcee6d0608ea28985c31688511e735a59 diff --git a/src/popup/components/pop-out.component.ts b/src/popup/components/pop-out.component.ts index 2464ef8989..e9ad1ec93a 100644 --- a/src/popup/components/pop-out.component.ts +++ b/src/popup/components/pop-out.component.ts @@ -56,8 +56,8 @@ export class PopOutComponent implements OnInit { chrome.windows.create({ url: href, type: 'popup', - width: bodyRect.width ? bodyRect.width + 60 : 375, - height: bodyRect.height || 600, + width: Math.round(bodyRect.width ? bodyRect.width + 60 : 375), + height: Math.round(bodyRect.height || 600), }); if (this.popupUtilsService.inPopup(window)) { diff --git a/src/popup/main.ts b/src/popup/main.ts index 09431ac642..cea09777b3 100644 --- a/src/popup/main.ts +++ b/src/popup/main.ts @@ -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;