Skip to content

Commit d86b375

Browse files
committed
Remove check for script properties
1 parent 9b1d290 commit d86b375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/managers/views/iframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class IframeView {
9191

9292
// sandbox
9393
this.iframe.sandbox = "allow-same-origin";
94-
if (this.settings.allowScriptedContent && this.section.properties.indexOf("scripted") > -1) {
94+
if (this.settings.allowScriptedContent) {
9595
this.iframe.sandbox += " allow-scripts"
9696
}
9797

0 commit comments

Comments
 (0)