diff --git a/src/editor/MainMenu.js b/src/editor/MainMenu.js index 11f3581a..16846e4f 100644 --- a/src/editor/MainMenu.js +++ b/src/editor/MainMenu.js @@ -86,7 +86,7 @@ class MainMenu { // Set image save option this.editor.configObj.pref("img_save", save); this.editor.updateCanvas(); - this.editor.hideDocProperties(); + this.hideDocProperties(); return true; } /** diff --git a/src/editor/dialogs/imagePropertiesDialog.js b/src/editor/dialogs/imagePropertiesDialog.js index a88dd9a4..c8375b7c 100644 --- a/src/editor/dialogs/imagePropertiesDialog.js +++ b/src/editor/dialogs/imagePropertiesDialog.js @@ -1,6 +1,8 @@ +/* globals svgEditor */ import { isValidUnit } from '../../common/units.js'; const template = document.createElement('template'); +// eslint-disable-next-line no-unsanitized/property template.innerHTML = `