Skip to content

Commit 9a6f54d

Browse files
committed
Docdiff: use the correct path to get the root selector option
I found this while debugging #661 since it was removing all the addons from the screen.
1 parent e5b145c commit 9a6f54d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docdiff.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class DocDiffElement extends LitElement {
101101
}
102102
this.config = config;
103103
this.rootSelector =
104-
objectPath.get(this.config, "options.root_selector") ||
104+
objectPath.get(this.config, "addons.options.root_selector") ||
105105
docTool.getRootSelector();
106106

107107
// NOTE: maybe there is a better way to inject this styles?

0 commit comments

Comments
 (0)