aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Dom.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Dom.js')
-rw-r--r--src/elements/Dom.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Dom.js b/src/elements/Dom.js
index d2ece97..e45c16c 100644
--- a/src/elements/Dom.js
+++ b/src/elements/Dom.js
@@ -167,7 +167,7 @@ export default class Dom extends EventTarget {
if (!type) return parent
- // loop trough ancestors if type is given
+ // loop through ancestors if type is given
do {
if (typeof type === 'string' ? parent.matches(type) : parent instanceof type) return parent
} while ((parent = adopt(parent.node.parentNode)))