From 1410875c65304f1d9c43085e85452740c468daad Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Mon, 30 Aug 2021 22:06:15 +0200 Subject: [PATCH] Update storageDialog.js --- src/editor/extensions/ext-storage/storageDialog.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/editor/extensions/ext-storage/storageDialog.js b/src/editor/extensions/ext-storage/storageDialog.js index 6fee5e0d..3b659837 100644 --- a/src/editor/extensions/ext-storage/storageDialog.js +++ b/src/editor/extensions/ext-storage/storageDialog.js @@ -194,7 +194,9 @@ export class SeStorageDialog extends HTMLElement { this.dispatchEvent(triggerEvent); }; this.$okBtn.addEventListener('click', (evt) => onSubmitHandler(evt, 'ok')); + this.$okBtn.addEventListener('touchend', (evt) => onSubmitHandler(evt, 'ok')); this.$cancelBtn.addEventListener('click', (evt) => onSubmitHandler(evt, 'cancel')); + this.$cancelBtn.addEventListener('touchend', (evt) => onSubmitHandler(evt, 'cancel')); } /** * Sets SVG content as a string with "svgedit-" and the current