Fix eslint rules

[MAILPOET-1348]
This commit is contained in:
Pavel Dohnal
2018-04-18 10:53:35 +01:00
parent 5fb57b13e4
commit d195cd9798

View File

@@ -359,8 +359,8 @@ define('modal', ['mailpoet', 'jquery'],
// set position of popup depending on screen dimensions.
jQuery('#mailpoet_popup').css({
top: Math.max(48, parseInt((screenHeight / 2) - (modalHeight / 2))),
left: Math.max(0, parseInt((screenWidth / 2) - (modalWidth / 2)))
top: Math.max(48, parseInt((screenHeight / 2) - (modalHeight / 2), 10)),
left: Math.max(0, parseInt((screenWidth / 2) - (modalWidth / 2), 10))
});
break;
case 'panel':