diff --git a/admin/themes/default/js/albums.js b/admin/themes/default/js/albums.js index 0c9ad15b1..eae99aa96 100644 --- a/admin/themes/default/js/albums.js +++ b/admin/themes/default/js/albums.js @@ -51,6 +51,10 @@ $(document).ready(() => { .replace(/%id%/g, node.id))); } else { cont.find('.move-cat-order').addClass("notClickable"); + + cont.append($(toggler_close + .replace(/%content%/g, toggler) + .replace(/%id%/g, node.id))).addClass("disabledToggle"); } cont.append($(icon.replace(/%icon%/g, 'icon-grip-vertical-solid'))); diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 7c8fc93f8..7a330b420 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -5891,6 +5891,12 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important; font-weight:600; } +.disabledToggle .move-cat-toogler{ + color: gray; + opacity: 0.5; + pointer-events: none; +} + /* album search */ .search-album {