mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 14:12:34 +01:00
This commit is contained in:
parent
006cb533ac
commit
fa0f062421
2 changed files with 20 additions and 12 deletions
|
|
@ -861,5 +861,7 @@ export const addDragFill = (cellElement: Element) => {
|
|||
return;
|
||||
}
|
||||
cellElement.classList.add("av__cell--active");
|
||||
cellElement.insertAdjacentHTML("beforeend", `<div aria-label="${window.siyuan.languages.dragFill}" class="av__drag-fill ariaLabel"></div>`);
|
||||
if (!cellElement.querySelector(".av__drag-fill")) {
|
||||
cellElement.insertAdjacentHTML("beforeend", `<div aria-label="${window.siyuan.languages.dragFill}" class="av__drag-fill ariaLabel"></div>`);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue