From fc1131e0215f744f05516226c3a6421fcdb19db0 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 25 Aug 2023 21:20:51 +0200 Subject: save fix and text alignment --- resources/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/js/ui.js') 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!'); -- cgit v1.2.3