From d86b375ec98d6cf8ad8ad3acd6dcf7f726eb88a4 Mon Sep 17 00:00:00 2001 From: Fred Chasen Date: Fri, 7 Jan 2022 14:27:01 -0800 Subject: [PATCH] Remove check for script properties --- src/managers/views/iframe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/views/iframe.js b/src/managers/views/iframe.js index 81461b7..996ad39 100644 --- a/src/managers/views/iframe.js +++ b/src/managers/views/iframe.js @@ -91,7 +91,7 @@ class IframeView { // sandbox this.iframe.sandbox = "allow-same-origin"; - if (this.settings.allowScriptedContent && this.section.properties.indexOf("scripted") > -1) { + if (this.settings.allowScriptedContent) { this.iframe.sandbox += " allow-scripts" }