From b48c1a9321837bc5ae2297aa106872b7ab624c50 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Fri, 19 Feb 2021 18:34:55 +0100 Subject: [PATCH] Fix sandbox. --- client/videowatch-client-plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/videowatch-client-plugin.js b/client/videowatch-client-plugin.js index 65f2ba24..d1d89f9f 100644 --- a/client/videowatch-client-plugin.js +++ b/client/videowatch-client-plugin.js @@ -115,7 +115,7 @@ function openChat () { const iframe = document.createElement('iframe') iframe.setAttribute('src', iframeUri) iframe.setAttribute('class', 'peertube-plugin-livechat peertube-plugin-livechat-stuff') - iframe.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups') + iframe.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms') iframe.setAttribute('frameborder', '0') if (additionalStyles) { iframe.setAttribute('style', additionalStyles)