mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
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
|
// https://github.com/siyuan-note/siyuan/issues/11587
|
||||||
if (index === 0) {
|
if (index === 0) {
|
||||||
const airaLabelElement = item.querySelector(".ariaLabel");
|
const airaLabelElement = item.querySelector(".ariaLabel");
|
||||||
showTooltip(airaLabelElement.getAttribute("aria-label"), airaLabelElement);
|
if (airaLabelElement) {
|
||||||
|
showTooltip(airaLabelElement.getAttribute("aria-label"), airaLabelElement);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.siyuan.dragElement = undefined;
|
window.siyuan.dragElement = undefined;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue