Remove allowtransparency from checkout overlay

This commit is contained in:
Dennis Reimann 2021-01-28 10:34:34 +01:00
parent 98a1b0da71
commit f5ee67aafb
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

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