🎨 笔记本拖回原处时重新显示悬浮提示

This commit is contained in:
Jeffrey Chen 2024-12-23 06:30:06 +08:00
parent 4bba65f7a9
commit 0949efbe9d

View file

@ -446,7 +446,7 @@ export class Files extends Model {
item.style.opacity = "";
// https://github.com/siyuan-note/siyuan/issues/11587
if (index === 0) {
const airaLabelElement = item.querySelector(".ariaLabel");
const airaLabelElement = item.querySelector(".ariaLabel") || item.querySelector(".b3-list-item__text");
if (airaLabelElement) {
showTooltip(airaLabelElement.getAttribute("aria-label"), airaLabelElement);
}