diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 84d631a0..9e88a6cb 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -323,7 +323,7 @@ script type="text/javascript" src="locale/locale.min.js">
- + diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index b459335c..1374b479 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -4557,7 +4557,7 @@ function BatchCommand(text) { if (elem.tagName == "g" && (attr != "transform" && attr != "opacity")) continue; var oldval = attr == "#text" ? elem.textContent : elem.getAttribute(attr); if (oldval == null) oldval = ""; - if (oldval != newValue) { + if (oldval !== newValue) { if (attr == "#text") { var old_w = elem.getBBox().width; elem.textContent = newValue;