fix drinks

This commit is contained in:
_Bastler 2021-09-06 20:15:41 +02:00
parent 64613b076e
commit 4913010273

View File

@ -311,6 +311,7 @@ class IframeListener {
// We are putting a sandbox on this script because it will run in the same domain as the main website.
iframe.sandbox.add("allow-scripts");
iframe.sandbox.add("allow-same-origin");
iframe.sandbox.add("allow-top-navigation-by-user-activation");
iframe.addEventListener("load", () => {
@ -329,6 +330,7 @@ class IframeListener {
// We are putting a sandbox on this script because it will run in the same domain as the main website.
iframe.sandbox.add("allow-scripts");
iframe.sandbox.add("allow-same-origin");
iframe.sandbox.add("allow-top-navigation-by-user-activation");
//iframe.src = "data:text/html;charset=utf-8," + escape(html);