Update FalooParser#2545
Conversation
plugin/js/parsers/FalooParser.js
Outdated
| chapters.push({ | ||
| sourceUrl: link.href, | ||
| title: title, | ||
| isIncludeable: !isVipReached |
There was a problem hiding this comment.
This line
isIncludeable: !isVipReachedSuggests you want to include all chapters, but mark the VIP chapters as disabled.
The "continue" line I commented on previously means the VIP chapters will be excluded from the chapter list.
Which of the two are you trying to do?
You should remove one of the continue or the isIncludeable lines.
|
Changed how we check for VIP chapters, we now look at how a chapter element is stored inside It should be better now. |
|
@Yomafil |
Updated the FalooParser to now list all VIP chapters, but leave them unchecked by default.
Also, use the table of content to get the chapters, and get the non-truncated title of a chapter from it.