Fix eslint rules
[MAILPOET-1348]
This commit is contained in:
@@ -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':
|
||||
|
Reference in New Issue
Block a user