mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-04 09:54:16 +00:00
Add a nice animation on successful refilling
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user