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