- Fix: Save broken on Firefox (since FF version?)
- Docs: Mention potentially more frequent release schedule - Docs (ReleaseInstructions): Update per new testing; update `grep-doc` -> `types-doc` and indicate current failing status; indicate when `build-doc` will be used; clarify `npm pack` - npm: Add newly renamed `jsdoc-check-overly-generic-types.js` to ignore - npm: Bump to 3.1.1
This commit is contained in:
@@ -1702,12 +1702,15 @@ 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;';
|
||||
document.body.append(a); // Need to append for Firefox
|
||||
|
||||
a.click();
|
||||
|
||||
// Alert will only appear the first time saved OR the
|
||||
// first time the bug is encountered
|
||||
let done = $.pref('save_notice_done');
|
||||
|
||||
if (done !== 'all') {
|
||||
let note = uiStrings.notification.saveFromBrowser.replace('%s', 'SVG');
|
||||
// Check if FF and has <defs/>
|
||||
|
||||
Reference in New Issue
Block a user