mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-03 14:59:18 +02:00
Updates for rendering in embedded Webviews (#643)
* Initial embedding support * Updates for rendering in embedded webviews * toLowerCase nodeName check
This commit is contained in:
parent
5cc8b191d0
commit
bb1ab21a33
23 changed files with 987 additions and 213 deletions
|
@ -84,7 +84,7 @@ class Navigation {
|
|||
|
||||
var index = id ? id : 0;
|
||||
tocLinkArray.forEach((linkElm) => {
|
||||
if (linkElm.nodeName === 'li') {
|
||||
if (linkElm.nodeName.toLowerCase() === 'li') {
|
||||
var tocLink = qs(linkElm, 'a'),
|
||||
tocLinkData = {
|
||||
id: -1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue