From a50efc51819c77947352b2c20eedb4d2f5b2c4e5 Mon Sep 17 00:00:00 2001 From: Fauvet Matthis Date: Fri, 21 Jun 2024 16:29:57 +0200 Subject: [PATCH] modified code --- onzer.riot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/onzer.riot b/onzer.riot index 3839075..8ee1a72 100644 --- a/onzer.riot +++ b/onzer.riot @@ -65,8 +65,10 @@ this.song_style = "isActivate"; this.state.search = "songs"; } - if(old_search != this.state.search){this.list();} - this.update(); + if(old_search != this.state.search) { + this.list(); + } + this.update(); }, async list(){ this.state = {