mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
81ae9a22cd
commit
b6470d18bb
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ export class Files extends Model {
|
||||||
selectElements.forEach((item: HTMLElement, index) => {
|
selectElements.forEach((item: HTMLElement, index) => {
|
||||||
ghostElement.append(item.cloneNode(true));
|
ghostElement.append(item.cloneNode(true));
|
||||||
item.style.opacity = "0.1";
|
item.style.opacity = "0.1";
|
||||||
const itemNodeId = item.getAttribute("data-node-id") || "";
|
const itemNodeId = item.dataset.nodeId || item.dataset.path;
|
||||||
if (itemNodeId) {
|
if (itemNodeId) {
|
||||||
ids += itemNodeId;
|
ids += itemNodeId;
|
||||||
if (index < selectElements.length - 1) {
|
if (index < selectElements.length - 1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue