Skip to content

Commit

Permalink
#12
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC committed Apr 17, 2024
1 parent 1335eea commit c438e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class PluginHighlight extends Plugin {
}

addSearchElement() {
const edits = document.querySelectorAll(".layout__center [data-type='wnd'] > .layout-tab-container");
const edits = document.querySelectorAll(".layout__center");
console.log(edits);
edits.forEach(edit => {
const existingElement = edit.querySelector(`.${CLASS_NAME}`);
Expand Down

0 comments on commit c438e3e

Please sign in to comment.