- Fix: IE 11 issue; fixes #363

- npm: Update devDeps
This commit is contained in:
Brett Zamir
2019-11-16 09:29:09 +08:00
parent a09c47283e
commit cd0bdd9cce
11 changed files with 39 additions and 33 deletions

View File

@@ -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();

View File

@@ -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