diff --git a/public/scripts/bookmarks.js b/public/scripts/bookmarks.js index bfb6abf35..3305e9c22 100644 --- a/public/scripts/bookmarks.js +++ b/public/scripts/bookmarks.js @@ -131,7 +131,8 @@ async function saveBookmarkMenu() { return await createNewBookmark(chat.length - 1); } -async function createBranch(mesId) { +// Export is used by Timelines extension. Do not remove. +export async function createBranch(mesId) { if (!chat.length) { toastr.warning('The chat is empty.', 'Branch creation failed'); return;