remove focus from invisible icon

This commit is contained in:
daria 2025-09-16 11:26:23 +03:00
parent 3baa01b8ae
commit 3e425b9a63
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701

View File

@ -4647,7 +4647,7 @@ define([
(isRootOpened ? $folderOpenedIcon : $folderIcon);
var $rootElement = createTreeElement(rootName, $rootIcon.clone(), path.slice(), false, true, true, isRootOpened);
if (!manager.hasSubfolder(root)) {
$rootElement.find('.cp-app-drive-icon-expcol').addClass('cp-icon-hidden');
$rootElement.find('.cp-app-drive-icon-expcol').addClass('cp-icon-hidden').attr('tabindex','-1');
}
$rootElement.addClass('cp-app-drive-tree-root');
$rootElement.find('>.cp-app-drive-element-row')