Jeffrey Chen 2025-02-26 09:54:59 +08:00 committed by GitHub
parent bf25fe7ea4
commit 0b4cff93ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 94 additions and 58 deletions

View file

@ -453,7 +453,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);
}