--- a/svghmi/svghmi.js Fri Apr 03 08:30:00 2020 +0200
+++ b/svghmi/svghmi.js Fri Apr 03 09:52:57 2020 +0200
@@ -467,6 +467,7 @@
};
+var xmlns = "http://www.w3.org/2000/svg";
var edit_callback;
function edit_value(path, valuetype, callback, initial) {
@@ -475,7 +476,7 @@
edit_callback = callback;
let [element, parent] = detachable_elements[keypadid];
- tmpgrp = document.createElement("g");
+ tmpgrp = document.createElementNS(xmlns,"g");
tmpgrpattr = document.createAttribute("transform");
let [xdest,ydest] = page_desc[current_visible_page].bbox;