From eedc8587e389bb6573d4b1d37eeab6dcfabee42a Mon Sep 17 00:00:00 2001 From: Michele Casanova <68413054+m-casanova@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:53:22 +0200 Subject: [PATCH] Update script.js --- assets/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/script.js b/assets/js/script.js index f6945e2..82da88b 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -126,7 +126,7 @@ Promise.all(fileCaricati) }); // Scambio degli elementi - if (n1.io !== eid && n2.io === eid && a.t2) { + if (n1.io != eid && n2.io == eid && a.t2) { [trCom[0], trCom[1]] = [trCom[1], trCom[0]]; } }