Skip to content

Commit 70cbfad

Browse files
committed
Fix(right_outline): The config option 'REMOVE_HEADER_STYLES' does not take effect (#1170)
1 parent 3e8b114 commit 70cbfad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/right_outline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class RightOutlinePlugin extends BasePlugin {
286286
targetNode.classList.add("active")
287287
}
288288

289-
_getRoot = type => (type === "header") ? this.utils.getTocTree(this.config.remove_header_styles) : this._getKindRoot([type])
289+
_getRoot = type => (type === "header") ? this.utils.getTocTree(this.config.REMOVE_HEADER_STYLES) : this._getKindRoot([type])
290290

291291
_getKindRoot = types => {
292292
const includeHeadings = types.some(type => this.config.INCLUDE_HEADINGS[type])

0 commit comments

Comments
 (0)