Update svgcanvas.js
This commit is contained in:
@@ -207,7 +207,7 @@ class SvgCanvas {
|
||||
this._storage.get(element).set(key, obj);
|
||||
},
|
||||
get: function (element, key) {
|
||||
return this._storage.get(element).get(key);
|
||||
return this._storage.get(element)?.get(key);
|
||||
},
|
||||
has: function (element, key) {
|
||||
return this._storage.has(element) && this._storage.get(element).has(key);
|
||||
|
||||
Reference in New Issue
Block a user