From 2f58fbc94d1959e8cb0d9735d3da97c1aff7e5fc Mon Sep 17 00:00:00 2001 From: nicod_ <nicod@lerebooteux.fr> Date: Tue, 14 Nov 2023 22:36:14 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20Tester=20le=20nombre=20de=20blocks=20(pa?= =?UTF-8?q?s=20forc=C3=A9ment=20enfants=20directs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- javascript/gestion_listes_blocks.js.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/gestion_listes_blocks.js.html b/javascript/gestion_listes_blocks.js.html index 77639b9..015b1e6 100644 --- a/javascript/gestion_listes_blocks.js.html +++ b/javascript/gestion_listes_blocks.js.html @@ -18,7 +18,7 @@ function ordonner_listes_blocks() { Sortable.get(this).destroy(); } // pas de tri possible s'il n'y a qu'un seul élément. - if ($(this).find('> .objetblock').length < 2) { + if ($(this).find('.objetblock').length < 2) { $(this).find('.deplacer_block').hide(); return true; // continue } else { -- GitLab