Skip to content

Commit

Permalink
fix: spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
betterRunner committed Sep 22, 2021
1 parent d04a6f4 commit d84f5e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function getDomQueryPath(el: HTMLElement) {
if (el.hasAttribute("id") && el.id != "") {
stack.unshift(`${name}#${el.id}`);
} else if (sibCount > 1) {
stack.unshift(`${name}:n-th-of-type(${sibIndex + 1})`);
stack.unshift(`${name}:nth-of-type(${sibIndex + 1})`);
} else {
stack.unshift(name);
}
Expand Down

0 comments on commit d84f5e3

Please sign in to comment.