Skip to content

Commit 438dcd4

Browse files
committed
label fix bug on design
1 parent d18a9e5 commit 438dcd4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

app/src/main/resources/public/js/lazy-loading.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ function backToTop() {
10111011
// --- Quand on clique sur "catégories"
10121012
$('#search-mode-category').on('click', function() {
10131013
$('#vertical-display').hide();
1014-
$('#horizontal-display').slideDown();
1014+
$('#horizontal-display').show();
10151015
$('#mode-category').addClass("active");
10161016
// Changement d’icônes
10171017
$('#mode-word .icon').removeClass('search-ABC_blue-background').addClass('search-ABC_black');
@@ -1036,7 +1036,7 @@ function backToTop() {
10361036
nb.innerHTML = "("+signsCount+")";
10371037
}
10381038
$('#dropdown-filter').hide();
1039-
$('#page-content').slideDown();
1039+
$('#page-content').show();
10401040
});
10411041

10421042

@@ -1073,7 +1073,7 @@ function backToTop() {
10731073

10741074
$('#search-mode-word').on('click', function() {
10751075
$('#vertical-display').hide();
1076-
$('#horizontal-display').slideDown();
1076+
$('#horizontal-display').show();
10771077
$('#mode-word').addClass("active");
10781078
$('#mode-category .icon').removeClass('search-sticker_blue-background').addClass('search-sticker');
10791079
$('#mode-word .icon').removeClass('search-ABC_black').addClass('search-ABC_blue-background');
@@ -1100,7 +1100,7 @@ function backToTop() {
11001100
updateSignesCount(signsCount);
11011101
nb.innerHTML = "("+signsCount+")";
11021102
}
1103-
$('#page-content').slideDown();
1103+
$('#page-content').show();
11041104
});
11051105

11061106
// --- Quand on clique sur "mots"
@@ -1176,7 +1176,7 @@ function backToTop() {
11761176
if (value.length > 0) {
11771177

11781178
$('#vertical-display').hide();
1179-
$('#horizontal-display').slideDown();
1179+
$('#horizontal-display').show();
11801180

11811181
// Mode WORD actif
11821182
$('#mode-word').addClass("active");
@@ -1197,7 +1197,7 @@ function backToTop() {
11971197
// Copier la valeur
11981198
$('#search-criteria').val(value).focus();
11991199

1200-
$('#page-content').slideDown();
1200+
$('#page-content').show();
12011201

12021202
// Reset catégories
12031203
$("#category-list").children("button").removeClass("btn-active");
@@ -1219,8 +1219,8 @@ function backToTop() {
12191219

12201220
// Basculer affichage
12211221
$('#vertical-display').hide();
1222-
$('#horizontal-display').slideDown();
1223-
$('#page-content').slideDown();
1222+
$('#horizontal-display').show();
1223+
$('#page-content').show();
12241224

12251225
// Mode CATEGORY actif
12261226
$('#mode-category').addClass("active");

0 commit comments

Comments
 (0)