commit
a85b56ead0
2
epub.js
2
epub.js
@ -527,7 +527,7 @@ EPub.prototype.walkNavMap = function (branch, path, id_list, level) {
|
|||||||
var title = '';
|
var title = '';
|
||||||
if (branch[i].navLabel && typeof branch[i].navLabel.text == 'string') {
|
if (branch[i].navLabel && typeof branch[i].navLabel.text == 'string') {
|
||||||
title = branch[i].navLabel && branch[i].navLabel.text || branch[i].navLabel===branch[i].navLabel ?
|
title = branch[i].navLabel && branch[i].navLabel.text || branch[i].navLabel===branch[i].navLabel ?
|
||||||
'' : (branch[i].navLabel && branch[i].navLabel.text || branch[i].navLabel || "").trim();
|
(branch[i].navLabel && branch[i].navLabel.text || branch[i].navLabel || "").trim() : '';
|
||||||
}
|
}
|
||||||
var order = Number(branch[i]["@"] && branch[i]["@"].playOrder || 0);
|
var order = Number(branch[i]["@"] && branch[i]["@"].playOrder || 0);
|
||||||
if (isNaN(order)) {
|
if (isNaN(order)) {
|
||||||
|
Reference in New Issue
Block a user