diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-04-04 21:25:32 +1000 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2020-04-04 21:25:32 +1000 |
commit | 8a6b109353d1e3ff24b996ffa3f412fb2f94de90 (patch) | |
tree | 916b489b3877ce27c44b7efe3d0851216d616986 /src/elements/Dom.js | |
parent | 7547a6a45818bcfefd545da4697196b81bd8da5b (diff) | |
download | svg.js-8a6b109353d1e3ff24b996ffa3f412fb2f94de90.tar.gz svg.js-8a6b109353d1e3ff24b996ffa3f412fb2f94de90.zip |
renamed removeNamespace()
Diffstat (limited to 'src/elements/Dom.js')
-rw-r--r-- | src/elements/Dom.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Dom.js b/src/elements/Dom.js index ef51ad6..c523687 100644 --- a/src/elements/Dom.js +++ b/src/elements/Dom.js @@ -31,8 +31,8 @@ export default class Dom extends EventTarget { element = makeInstance(element) // If non-root svg nodes are added we have to remove their namespaces - if (element.removeNamespaces && this.node instanceof globals.window.SVGElement) { - element.removeNamespaces() + if (element.removeNamespace && this.node instanceof globals.window.SVGElement) { + element.removeNamespace() } if (i == null) { |