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" }