Update storageDialog.js

This commit is contained in:
JFH
2021-08-30 22:06:15 +02:00
parent bb90115130
commit 1410875c65

View File

@@ -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