summaryrefslogtreecommitdiff
path: root/resources/js/ui.js
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-08-25 21:20:51 +0200
committerDaniel Weipert <code@drogueronin.de>2023-08-25 21:20:51 +0200
commitfc1131e0215f744f05516226c3a6421fcdb19db0 (patch)
tree4832d978e2f2708b797d0fc0133e63d0866b7e5f /resources/js/ui.js
parentfef59f25ca7dc0df7e4129ff11ee4c9af95eb085 (diff)
save fix and text alignmentitch
Diffstat (limited to 'resources/js/ui.js')
-rw-r--r--resources/js/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/ui.js b/resources/js/ui.js
index a19db2e..7c0c064 100644
--- a/resources/js/ui.js
+++ b/resources/js/ui.js
@@ -1642,7 +1642,7 @@ const UI = {
const saveData = Memory.save();
dialog.querySelector('[data-template-slot="saveData"]').value = saveData;
- dialog.querySelector('[data-template-slot="saveClipboard"]').addEventListener('click', UI.createEventListenr(async () => {
+ dialog.querySelector('[data-template-slot="saveClipboard"]').addEventListener('click', UI.createEventListener(async () => {
if (navigator.clipboard) {
await navigator.clipboard.writeText(saveData);
alert('Saved to clipboard!');