diff options
Diffstat (limited to 'resources')
-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!'); |