Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 15, 2024
1 parent 8be964a commit bfe7a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webextensions/common/bookmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export async function bookmarkTab(tab, { parentId, showDialog } = {}) {
}
const parent = (
(await getItemById(parentId || configs.defaultBookmarkParentId)) ||
(await getItemById(configs.$defaults.defaultBookmarkParentId))
(await getItemById(configs.$default.defaultBookmarkParentId))
);

let title = tab.title;
Expand Down Expand Up @@ -515,7 +515,7 @@ export async function bookmarkTabs(tabs, { parentId, index, showDialog, title }
parent = await getItemById(configs.defaultBookmarkParentId);
}
if (!parent)
parent = await getItemById(configs.$defaults.defaultBookmarkParentId);
parent = await getItemById(configs.$default.defaultBookmarkParentId);
if (parent)
folderParams.parentId = parent.id;

Expand Down

0 comments on commit bfe7a32

Please sign in to comment.