MCPcopy Index your code
hub / github.com/darkreader/darkreader / updateParent

Function updateParent

src/inject/utils/dom.ts:174–178  ·  view source on GitHub ↗
(parentNode: Node & ParentNode | null)

Source from the content-addressed store, hash-verified

172 };
173
174 const updateParent = (parentNode: Node & ParentNode | null) => {
175 parent = parentNode;
176 stop();
177 run();
178 };
179
180 run();
181 return {run, stop, skip};

Callers 1

watchForNodePositionFunction · 0.85

Calls 2

stopFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected