Skip to content

Commit

Permalink
Remove left over page arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
md-y committed Jan 27, 2022
1 parent 89d65c2 commit 6866f92
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/structure/chapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ class Chapter {
* @type {Boolean}
*/
this.isExternal = 'externalUrl' in context.data.attributes && context.data.attributes.externalUrl !== null;
if (this.isExternal) {
this.pageNames = [];
this.saverPageNames = [];
}

/**
* The external URL to this chapter if it is not hosted on MD. Null if it is hosted on MD
Expand Down

0 comments on commit 6866f92

Please sign in to comment.