mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
Don't assume existence of hard-coded bookmark Ids (#1434)
Instead, use the default location on the create() call.
This commit is contained in:
@@ -42,7 +42,6 @@ function displayBookmarks(nodes, parentNode) {
|
||||
function addBookmark() {
|
||||
chrome.bookmarks.create(
|
||||
{
|
||||
parentId: '1',
|
||||
title: 'Google',
|
||||
url: 'https://www.google.com'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user