#98 lint issue fixed
parent
5cb889a638
commit
26113064db
|
@ -362,6 +362,7 @@ export default {
|
|||
const btitle = svgEditor.i18next.t(`${name}:langListTitle`);
|
||||
// Add the button and its handler(s)
|
||||
const buttonTemplate = document.createElement("template");
|
||||
// eslint-disable-next-line no-unsanitized/property
|
||||
buttonTemplate.innerHTML = `
|
||||
<se-button id="mode_connect" title="${btitle}" src="./images/conn.svg"></se-button>
|
||||
`;
|
||||
|
|
|
@ -48,6 +48,7 @@ export default {
|
|||
const btitle = svgEditor.i18next.t(`${name}:buttons.0.title`);
|
||||
// Add the button and its handler(s)
|
||||
const buttonTemplate = document.createElement("template");
|
||||
// eslint-disable-next-line no-unsanitized/property
|
||||
buttonTemplate.innerHTML = `
|
||||
<se-button id="ext-panning" title="${btitle}" src="./images/panning.svg"></se-button>
|
||||
`;
|
||||
|
|
|
@ -10,6 +10,7 @@ const remember_this_choice = i18next.t('tools.remember_this_choice');
|
|||
const remember_this_choice_title = i18next.t('tools.remember_this_choice_title');
|
||||
const ok = i18next.t('common.ok');
|
||||
const cancel = i18next.t('common.cancel');
|
||||
// eslint-disable-next-line no-unsanitized/property
|
||||
template.innerHTML = `
|
||||
<style>
|
||||
|
||||
|
|
|
@ -194,7 +194,7 @@ class LeftPanel {
|
|||
* @type {module}
|
||||
*/
|
||||
init() {
|
||||
const { i18next } = this.editor
|
||||
const { i18next } = this.editor;
|
||||
// add Left panel
|
||||
const template = document.createElement("template");
|
||||
// eslint-disable-next-line no-unsanitized/property
|
||||
|
|
Loading…
Reference in New Issue