mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-02 14:49:16 +02:00
Remove check for script properties
This commit is contained in:
parent
9b1d290d21
commit
d86b375ec9
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue