Skip to content

Commit 2c91b68

Browse files
authored
ENGCOM-5996: Remove unnecessary parentheses #24851
2 parents f494e1c + 8167131 commit 2c91b68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/web/mage/popup-window.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ define([
5757
settings.windowURL = settings.windowURL || element.attr('href');
5858

5959
if (settings.centerBrowser) {
60-
centeredY = window.screenY + ((window.outerHeight / 2 - settings.height / 2));
61-
centeredX = window.screenX + ((window.outerWidth / 2 - settings.width / 2));
60+
centeredY = window.screenY + (window.outerHeight / 2 - settings.height / 2);
61+
centeredX = window.screenX + (window.outerWidth / 2 - settings.width / 2);
6262
windowFeatures += ',left=' + centeredX + ',top=' + centeredY;
6363
} else if (settings.centerScreen) {
6464
centeredY = (screen.height - settings.height) / 2;

0 commit comments

Comments
 (0)