This commit is contained in:
parent
0cec4b4f7a
commit
09105163c9
1 changed files with 3 additions and 1 deletions
|
@ -427,7 +427,9 @@ export class Files extends Model {
|
|||
// https://github.com/siyuan-note/siyuan/issues/11587
|
||||
if (index === 0) {
|
||||
const airaLabelElement = item.querySelector(".ariaLabel");
|
||||
showTooltip(airaLabelElement.getAttribute("aria-label"), airaLabelElement);
|
||||
if (airaLabelElement) {
|
||||
showTooltip(airaLabelElement.getAttribute("aria-label"), airaLabelElement);
|
||||
}
|
||||
}
|
||||
});
|
||||
window.siyuan.dragElement = undefined;
|
||||
|
|
Loading…
Add table
Reference in a new issue