1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Remove check for script properties

This commit is contained in:
Fred Chasen 2022-01-07 14:27:01 -08:00
parent 9b1d290d21
commit d86b375ec9

View file

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