diff options
author | albert-github <albert.tests@gmail.com> | 2023-04-15 11:45:54 +0200 |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2023-04-15 11:45:54 +0200 |
commit | a5268a8aab187a4d98190833923f0a80610007f8 (patch) | |
tree | 2ea83d5d5bed92ae90b518f1ca539a9f9e049716 /src/elements/Dom.js | |
parent | 770ca58d58bcb48a52367e9a340ab06c0053f1d5 (diff) | |
download | svg.js-a5268a8aab187a4d98190833923f0a80610007f8.tar.gz svg.js-a5268a8aab187a4d98190833923f0a80610007f8.zip |
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))) |