#77 <SVG> button issue fixed

master
Agriya Dev5 2021-02-24 14:21:15 +05:30
parent e9a4326c89
commit fd5eca229e
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export const svgCanvasToString = function () {
const nakedSvgs = [];
// Unwrap gsvg if it has no special attributes (only id and style)
$(svgContext_.getSVGContent()).find('g:data(gsvg)').each(function () {
$(svgContext_.getSVGContent()).find('g[data-gsvg]').each(function () {
const attrs = this.attributes;
let len = attrs.length;
for (let i = 0; i < len; i++) {