* Adjust code for hover in tree .

This commit is contained in:
guofeilong
2023-04-06 16:15:58 +08:00
parent d840e25da5
commit c846da6bf3
+3
View File
@@ -274,6 +274,9 @@ $(function()
ele.on('click', '.icon-drop', function(e)
{
var $icon = $(this);
$('.icon-drop').addClass('hidden');
$(this).removeClass('hidden');
$('#fileTree').find('a.hover').removeClass('hover');
$('.dropdown-in-tree').remove();
var isCatalogue = $icon.attr('data-isCatalogue') === 'false' ? false : true;
var dropDownID = isCatalogue ? 'dropDownCatalogue' : 'dropDownLibrary';