Add a nice animation on successful refilling

This commit is contained in:
klmp200 committed 2024-12-16 00:58:23 +01:00
1 parent f63fb59cbf
commit 379527cd58
2 files changed
+7 -2

No files matched your search

@@ -44,6 +44,11 @@ exportToHtml("loadCounter", (config: CounterConfig) => {
).data.amount;
},
async onRefillingSuccess() {
await this.updateBalance();
document.getElementById("selling-accordion").click();
},
async handleCode(event: SubmitEvent) {
const code = (
$(event.target).find("#code_field").val() as string