Removed redundant export
This commit is contained in:
@@ -41,7 +41,7 @@ function getParentNodePosition(nodeInternals: NodeInternals, nodeId?: string): X
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function selectorExistsTargetToNode(target: Element, selector: string, nodeRef: RefObject<Element>): boolean {
|
function selectorExistsTargetToNode(target: Element, selector: string, nodeRef: RefObject<Element>): boolean {
|
||||||
let current = target;
|
let current = target;
|
||||||
do {
|
do {
|
||||||
if (current?.matches(selector)) return true;
|
if (current?.matches(selector)) return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user