Skip to content

Commit

Permalink
Removes links from initial search for nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-wajahat committed Oct 4, 2023
1 parent d033dc6 commit 98bb068
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/RouteChangeObserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ class RouteChangeObserver {
};

searchForInterestingNodesOnLoad() {
const nodes = document.querySelectorAll('img, iframe, link');
// Ignore link on initial load because stylesheets are hard to track
const nodes = document.querySelectorAll('img, iframe');
nodes.forEach((node) => {
this.interesting = this.waitForNode(node) || this.interesting;
});
Expand Down

0 comments on commit 98bb068

Please sign in to comment.