From ef7c7329d19ca3dfa42cc80acfe74d54a4fbfa59 Mon Sep 17 00:00:00 2001
From: nicod_ <nicod@lerebooteux.fr>
Date: Tue, 14 Nov 2023 21:50:21 +0100
Subject: [PATCH] =?UTF-8?q?fix:=20R=C3=A9parer=20le=20drag'n=20drop=20qui?=
 =?UTF-8?q?=20ne=20fonctionnait=20plus?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Utiliser le bon nom de classe
---
 javascript/gestion_listes_blocks.js.html | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/javascript/gestion_listes_blocks.js.html b/javascript/gestion_listes_blocks.js.html
index f0a0e65..77639b9 100644
--- a/javascript/gestion_listes_blocks.js.html
+++ b/javascript/gestion_listes_blocks.js.html
@@ -19,11 +19,10 @@ function ordonner_listes_blocks() {
 			}
 			// pas de tri possible s'il n'y a qu'un seul élément.
 			if ($(this).find('> .objetblock').length < 2) {
-				$(this).find('.deplacer-block').hide();
-				$(this).parent().find('.tout_desordonner').hide();
+				$(this).find('.deplacer_block').hide();
 				return true; // continue
 			} else {
-				$(this).find('.deplacer-block').show();
+				$(this).find('.deplacer_block').show();
 			}
 			new Sortable(this, {
 				direction: 'vertical',
-- 
GitLab