fix and update
This commit is contained in:
@@ -339,6 +339,7 @@
|
||||
var height = 640;
|
||||
var left = Math.max(0, Math.round((global.screen.width - width) / 2));
|
||||
var top = Math.max(0, Math.round((global.screen.height - height) / 2));
|
||||
// Без noopener/noreferrer: popup должен видеть window.opener для postMessage после «Разрешить».
|
||||
var features =
|
||||
'popup=yes,width=' +
|
||||
width +
|
||||
@@ -347,8 +348,7 @@
|
||||
',left=' +
|
||||
left +
|
||||
',top=' +
|
||||
top +
|
||||
',noopener,noreferrer';
|
||||
top;
|
||||
|
||||
var popup = global.open(url, 'lendry_sso_onetap', features);
|
||||
if (!popup) {
|
||||
|
||||
Reference in New Issue
Block a user