mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 17:56:09 +01:00
🎨 Clean code
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c7a177e79e
commit
68f939d33d
3 changed files with 1 additions and 2 deletions
|
|
@ -27,7 +27,6 @@ import {newDailyNote} from "../../util/mount";
|
|||
import {hideElements} from "../../protyle/ui/hideElements";
|
||||
import {fetchPost} from "../../util/fetch";
|
||||
import {goBack, goForward} from "../../util/backForward";
|
||||
import {onGet} from "../../protyle/util/onGet";
|
||||
import {getDisplayName, getNotebookName} from "../../util/pathName";
|
||||
import {openFileById} from "../../editor/util";
|
||||
import {getAllDocks, getAllModels, getAllTabs} from "../../layout/getAll";
|
||||
|
|
|
|||
|
|
@ -586,6 +586,7 @@ export class Files extends Model {
|
|||
}
|
||||
if (liElement.classList.contains("dragover__top") || liElement.classList.contains("dragover__bottom") ||
|
||||
(targetType === "navigation-root" && dragOverLastObj.sourceOnlyRoot)) {
|
||||
// do nothing
|
||||
} else {
|
||||
liElement.classList.add("dragover");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@ import {
|
|||
copyPlainText,
|
||||
isInAndroid,
|
||||
isInHarmony,
|
||||
isInIOS,
|
||||
isMac,
|
||||
isOnlyMeta,
|
||||
openByMobile,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue