diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-25 21:20:51 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-25 21:20:51 +0200 |
commit | fc1131e0215f744f05516226c3a6421fcdb19db0 (patch) | |
tree | 4832d978e2f2708b797d0fc0133e63d0866b7e5f | |
parent | fef59f25ca7dc0df7e4129ff11ee4c9af95eb085 (diff) |
save fix and text alignmentitch
-rw-r--r-- | resources/css/battle.css | 1 | ||||
-rw-r--r-- | resources/js/ui.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/resources/css/battle.css b/resources/css/battle.css index 681b2e6..c60a025 100644 --- a/resources/css/battle.css +++ b/resources/css/battle.css @@ -89,6 +89,7 @@ position: absolute; top: 0; right: 0; + text-align: center; } .battle__trainer-sprite { 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!'); |