@@ -1704,7 +1704,7 @@ editor.init = function () {
|
||||
const a = document.createElement('a');
|
||||
a.href = 'data:image/svg+xml;base64,' + Utils.encode64(svg);
|
||||
a.download = 'icon.svg';
|
||||
a.style = 'display: none;';
|
||||
a.style.display = 'none';
|
||||
document.body.append(a); // Need to append for Firefox
|
||||
|
||||
a.click();
|
||||
|
||||
@@ -30703,7 +30703,7 @@
|
||||
var a = document.createElement('a');
|
||||
a.href = 'data:image/svg+xml;base64,' + encode64(svg);
|
||||
a.download = 'icon.svg';
|
||||
a.style = 'display: none;';
|
||||
a.style.display = 'none';
|
||||
document.body.append(a); // Need to append for Firefox
|
||||
|
||||
a.click(); // Alert will only appear the first time saved OR the
|
||||
|
||||
Reference in New Issue
Block a user