diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2023-04-15 12:51:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-15 12:51:19 +0200 |
commit | f10de7b61ce1acd3247a2060930e3be08dcf8b94 (patch) | |
tree | 2ea83d5d5bed92ae90b518f1ca539a9f9e049716 /src/elements/Dom.js | |
parent | 770ca58d58bcb48a52367e9a340ab06c0053f1d5 (diff) | |
parent | a5268a8aab187a4d98190833923f0a80610007f8 (diff) | |
download | svg.js-f10de7b61ce1acd3247a2060930e3be08dcf8b94.tar.gz svg.js-f10de7b61ce1acd3247a2060930e3be08dcf8b94.zip |
Merge pull request #1297 from albert-github/feature/bug_spell
Spelling corrections
Diffstat (limited to 'src/elements/Dom.js')
-rw-r--r-- | src/elements/Dom.js | 2 |
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))) |