Skip to content

Commit 40456c7

Browse files
authored
Don't assume existence of hard-coded bookmark Ids (#1434)
Instead, use the default location on the create() call.
1 parent db2d231 commit 40456c7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

api-samples/bookmarks/popup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ function displayBookmarks(nodes, parentNode) {
4242
function addBookmark() {
4343
chrome.bookmarks.create(
4444
{
45-
parentId: '1',
4645
title: 'Google',
4746
url: 'https://www.google.com'
4847
},

0 commit comments

Comments
 (0)