From a58555110dddcc0f033bcae6bd6863f7db98c04e Mon Sep 17 00:00:00 2001 From: Christina Toegl <toegl@tugraz.at> Date: Mon, 29 Mar 2021 17:49:14 +0200 Subject: [PATCH] Fix linter errors --- src/dbp-annotation-view.js | 6 +++--- src/dbp-signature-lit-element.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dbp-annotation-view.js b/src/dbp-annotation-view.js index 2ed9999..2e165d3 100644 --- a/src/dbp-annotation-view.js +++ b/src/dbp-annotation-view.js @@ -278,13 +278,13 @@ export class AnnotationView extends ScopedElementsMixin(DBPLitElement) { <dbp-organization-select subscribe="lang:lang,entry-point-url:entry-point-url,auth:auth" value="${data.organizationNumber}" @change=${e => { this.updateAnnotation(id, 'organizationNumber', JSON.parse(e.target.getAttribute("data-object")).alternateName); }}></dbp-organization-select> - <input type="text" class="input" placeholder="${i18n.t('annotation-view.businessnumber-placeholder')}" @change=${e => { this.updateAnnotation(id, 'value', e.target.value) }}> + <input type="text" class="input" placeholder="${i18n.t('annotation-view.businessnumber-placeholder')}" @change=${e => { this.updateAnnotation(id, 'value', e.target.value); }}> <button class="button close" title="${i18n.t('annotation-view.remove-field')}" @click="${() => { this.removeAnnotation(id); } }"> <dbp-icon name="trash"></dbp-icon></button> </div> - `) + `); } else { results.push(html` <div class="annotation-block-${this.key}-${id}"> @@ -295,7 +295,7 @@ export class AnnotationView extends ScopedElementsMixin(DBPLitElement) { @click="${() => { this.removeAnnotation(id); } }"> <dbp-icon name="trash"></dbp-icon></button> </div> - `) + `); } }); diff --git a/src/dbp-signature-lit-element.js b/src/dbp-signature-lit-element.js index a03d5b1..4e6c885 100644 --- a/src/dbp-signature-lit-element.js +++ b/src/dbp-signature-lit-element.js @@ -116,7 +116,7 @@ export default class DBPSignatureLitElement extends DBPSignatureBaseLitElement { * * @param {*} key * @param {*} name - * @returns + * @returns shows AnnotationView */ async showAnnotationView(key, name) { if (this.signingProcessEnabled) { -- GitLab