add tooltip for items

This commit is contained in:
dcore94 2023-10-06 11:41:32 +02:00
parent e577298d78
commit 5e88cd90f5
1 changed files with 1 additions and 0 deletions

View File

@ -432,6 +432,7 @@ class D4SStorageTree extends D4SStorageHtmlElement {
li.setAttribute(D4SStorageTree.dataname_attr, label);
li.setAttribute(D4SStorageTree.dataid_attr, id);
li.style.userSelect = "none"
li.title = li.alt = label
if (parentId) {
li.setAttribute(D4SStorageTree.parentid_attr, parentId);
}