mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
eded9cd936
commit
124e4fcc5f
1 changed files with 3 additions and 0 deletions
|
|
@ -453,6 +453,9 @@ export class Files extends Model {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
window.siyuan.dragElement = undefined;
|
window.siyuan.dragElement = undefined;
|
||||||
|
document.querySelectorAll(".layout-tab-bars--drag").forEach(item => {
|
||||||
|
item.classList.remove("layout-tab-bars--drag");
|
||||||
|
});
|
||||||
});
|
});
|
||||||
this.element.addEventListener("dragover", (event: DragEvent & { target: HTMLElement }) => {
|
this.element.addEventListener("dragover", (event: DragEvent & { target: HTMLElement }) => {
|
||||||
if (window.siyuan.config.readonly || event.dataTransfer.types.includes(Constants.SIYUAN_DROP_TAB)) {
|
if (window.siyuan.config.readonly || event.dataTransfer.types.includes(Constants.SIYUAN_DROP_TAB)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue