mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
81092ed42d
commit
019291bd08
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ export class Files extends Model {
|
|||
});
|
||||
}
|
||||
if ((newElement.classList.contains("dragover__bottom") || newElement.classList.contains("dragover__top")) && window.siyuan.config.fileTree.sort === 6) {
|
||||
if (selectRootElements.length === fromPaths.length) {
|
||||
if (selectRootElements.length > 0 && newElement.getAttribute("data-path") === "/") {
|
||||
if (newElement.classList.contains("dragover__top")) {
|
||||
selectRootElements.forEach(item => {
|
||||
newElement.parentElement.before(item.parentElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue