This commit is contained in:
Eduard Kuzmenko 2022-07-18 16:01:47 +02:00
parent 6995348561
commit 382c217eb2
2 changed files with 4 additions and 3 deletions

4
.env
View File

@ -1,5 +1,5 @@
API_ID=1025907
API_HASH=452b0359b988148995f22ff0f4229750
VERSION=1.5.0
VERSION_FULL=1.5.0 (194)
BUILD=194
VERSION_FULL=1.5.0 (195)
BUILD=195

View File

@ -22,7 +22,8 @@ export function createVerificationIframe(url: string, callback: TelegramWebviewE
const iframe = document.createElement('iframe');
// iframe.title = 'Complete Payment';
iframe.allow = 'payment';
iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin allow-top-navigation allow-modals');
// iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin allow-top-navigation allow-modals');
iframe.setAttribute('sandbox', 'allow-forms allow-scripts allow-same-origin allow-modals');
iframe.classList.add('payment-verification');
iframe.src = url;