From 2ab20bfc755e9f9c5315841965d420417f0e183c Mon Sep 17 00:00:00 2001 From: sorax Date: Tue, 20 Aug 2024 11:20:28 +0200 Subject: [PATCH] fix typo --- assets/js/hooks/item.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/hooks/item.ts b/assets/js/hooks/item.ts index a1b2e85a..23201e0f 100644 --- a/assets/js/hooks/item.ts +++ b/assets/js/hooks/item.ts @@ -27,7 +27,7 @@ export function createItem({ setContent(item, content); setAttribute(item, "parent", parent_id); - setAttribute(item, "prev_id", prev_id); + setAttribute(item, "prev", prev_id); setItemDirty(item, dirty); setItemCollapsed(item, collapsed);