diff --git a/javascript/gestion_listes_blocks.js.html b/javascript/gestion_listes_blocks.js.html index f0a0e658fe5b2a5038391426877ec9eaf0367c26..77639b9fc420f9f0e0bc2dbea883c3b24f5372e3 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',