From 5f9fdec8699289eccd183bf0740fb7e8b397227b Mon Sep 17 00:00:00 2001 From: Christina Toegl <toegl@tugraz.at> Date: Mon, 3 Jan 2022 12:26:44 +0100 Subject: [PATCH] Fix linter errors --- packages/file-handling/src/nextcloud-file-picker.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/file-handling/src/nextcloud-file-picker.js b/packages/file-handling/src/nextcloud-file-picker.js index 2143abbb..d660d347 100644 --- a/packages/file-handling/src/nextcloud-file-picker.js +++ b/packages/file-handling/src/nextcloud-file-picker.js @@ -1663,21 +1663,21 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { if (key === "Enter") { that.addNewFolder(); } - }) + }); that._('#new-folder-row').addEventListener("keydown", event => { if (event.key === "Escape") { that.deleteNewFolderEntry(); event.stopPropagation(); } - }) + }); document.addEventListener("keydown", this.boundCancelNewFolderHandler); that._('#new-folder-row').addEventListener("click", (event) => { that._('#tf-new-folder').select(); event.stopPropagation(); - }) + }); that.initateOpenNewFolder = true; @@ -1753,7 +1753,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) { this.statusText = html`<span class="error"> ${i18n.t('nextcloud-file-picker.webdav-error', {error: error.message})} </span>`; } - }) + }); } else { this.statusText = html`<span class="error"> ${i18n.t('nextcloud-file-picker.add-folder-error-empty')} </span>`; -- GitLab