fix and update

This commit is contained in:
lendry
2026-06-30 09:11:55 +03:00
parent f1d6a5167f
commit 250976ca08
5 changed files with 94 additions and 142 deletions

View File

@@ -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) {