Skip to content

Commit

Permalink
#1314 Update ScribblehubParser.js to remove unnecessary fields
Browse files Browse the repository at this point in the history
Switched FindContent selector to div#chp_raw instead of div#chp_content - it's an inner div that only includes the content of the chapter and author notes.
  • Loading branch information
Kiradien authored May 13, 2024
1 parent 80a3534 commit 92b9abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/js/parsers/ScribblehubParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ScribblehubParser extends Parser{
}

findContent(dom) {
return dom.querySelector("div#chp_contents");
return dom.querySelector("div#chp_raw");
};

populateUI(dom) {
Expand Down

0 comments on commit 92b9abd

Please sign in to comment.