Fix call to cards.bookmarks.create, add rest of options.

This commit is contained in:
voussoir 2021-12-21 16:56:30 -08:00
parent 5efad72425
commit 77cd0e871c
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -71,8 +71,15 @@ function create_bookmark_callback(response)
return; return;
} }
const bookmark = response.data; const bookmark = response.data;
const add_author = true;
const add_delete_button = true; const add_delete_button = true;
const bookmark_card = cards.bookmarks.create(bookmark, add_delete_button); const add_url_element = true;
const bookmark_card = cards.bookmarks.create(
bookmark,
add_author,
add_delete_button,
add_url_element
);
create_editor(bookmark_card); create_editor(bookmark_card);
const bookmark_list = document.getElementById("bookmark_list"); const bookmark_list = document.getElementById("bookmark_list");