update epub.js
This commit is contained in:
parent
34c08333bc
commit
3c12da48d3
|
@ -5508,7 +5508,7 @@ EPUBJS.Parser.prototype.spine = function(spineXml, manifest){
|
|||
EPUBJS.Parser.prototype.querySelectorByType = function(html, element, type){
|
||||
var query = html.querySelector(element+'[*|type="'+type+'"]');
|
||||
// Handle IE not supporting namespaced epub:type in querySelector
|
||||
if(query.length === 0) {
|
||||
if(query === null || query.length === 0) {
|
||||
query = html.querySelectorAll(element);
|
||||
for (var i = 0; i < query.length; i++) {
|
||||
if(query[i].getAttributeNS("http://www.idpf.org/2007/ops", "type") === type) {
|
||||
|
@ -5698,6 +5698,7 @@ EPUBJS.Parser.prototype.pageListItem = function(item, spineIndexByURL, bookSpine
|
|||
};
|
||||
}
|
||||
};
|
||||
|
||||
EPUBJS.Render.Iframe = function() {
|
||||
this.iframe = null;
|
||||
this.document = null;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue