Skip to content

Commit

Permalink
fix bad node id
Browse files Browse the repository at this point in the history
  • Loading branch information
electronicbites committed Sep 3, 2024
1 parent 8341b59 commit 490a74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/hooks/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function getNodeByItem(item: HTMLDivElement): Node {
}

function getUUID(item: HTMLDivElement) {
return item.id.split("outline-node-")[1] as UUID;
return item.id.split("nodes-form-")[1] as UUID;
}

function getContent(item: HTMLDivElement) {
Expand Down

0 comments on commit 490a74f

Please sign in to comment.