mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-10-31 00:53:08 +00:00 
			
		
		
		
	Add a nice animation on successful refilling
This commit is contained in:
		| @@ -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