From 5ab781ab3011556643e037b6a6a11a7d17ecade2 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 8 Sep 2024 14:33:52 +0300 Subject: [PATCH] Unbreak timelines --- public/scripts/bookmarks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;