From a9f798000025fc7408b497f0841e328c64e5b1c0 Mon Sep 17 00:00:00 2001 From: lehmann Date: Fri, 22 Apr 2022 14:18:00 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20en=20forme=20du=20code,=20d=C3=A9sol?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/js/table_editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/js/table_editor.js b/app/static/js/table_editor.js index a4e8d27a7a..681af69785 100644 --- a/app/static/js/table_editor.js +++ b/app/static/js/table_editor.js @@ -178,9 +178,9 @@ function keyCell(event) { this.classList.remove("modifying"); let selected = document.querySelector(".selected"); ArrowMove(0, 1); - if(selected != document.querySelector(".selected")){ + if (selected != document.querySelector(".selected")) { modifCell(document.querySelector(".selected")); - } + } } }