mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
removed "use strict" in function
This commit is contained in:
parent
f5344f5fba
commit
c0ce4cce9e
1 changed files with 0 additions and 1 deletions
|
@ -485,7 +485,6 @@ EPUBJS.Renderer.prototype.firstElementisTextNode = function(node) {
|
|||
};
|
||||
|
||||
EPUBJS.Renderer.prototype.isGoodNode = function(node) {
|
||||
"use strict";
|
||||
var embeddedElements = ["audio", "canvas", "embed", "iframe", "img", "math", "object", "svg", "video"];
|
||||
if (embeddedElements.indexOf(node.tagName.toLowerCase()) !== -1) {
|
||||
// Embedded elements usually do not have a text node as first element, but are also good nodes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue