update epub.js

This commit is contained in:
j 2015-11-26 02:25:07 +01:00
parent 34c08333bc
commit 3c12da48d3
4 changed files with 5 additions and 4 deletions

View file

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

2
epub.js/epub.min.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long