From f5ee67aafbf2d2194ca0309c38843ffe1f5bc261 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Thu, 28 Jan 2021 10:34:34 +0100 Subject: [PATCH] Remove allowtransparency from checkout overlay --- BTCPayServer/wwwroot/modal/btcpay.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/wwwroot/modal/btcpay.js b/BTCPayServer/wwwroot/modal/btcpay.js index 14a64d69f..077a3878c 100644 --- a/BTCPayServer/wwwroot/modal/btcpay.js +++ b/BTCPayServer/wwwroot/modal/btcpay.js @@ -30,7 +30,6 @@ var iframe = document.createElement('iframe'); iframe.name = 'btcpay'; iframe.class = 'btcpay'; - iframe.setAttribute('allowtransparency', 'true'); iframe.style.display = 'none'; iframe.style.border = 0; iframe.style.position = 'fixed'; @@ -39,6 +38,8 @@ iframe.style.height = '100%'; iframe.style.width = '100%'; iframe.style.zIndex = '2000'; + // Removed, see https://github.com/btcpayserver/btcpayserver/issues/2139#issuecomment-768223263 + // iframe.setAttribute('allowtransparency', 'true'); var origin = 'http://chat.btcpayserver.org join us there, and initialize this with your origin url through setApiUrlPrefix'; var scriptMatch = thisScript.match(scriptSrcRegex)