Unbreak timelines

This commit is contained in:
Cohee
2024-09-08 14:33:52 +03:00
parent 95dd58ad95
commit 5ab781ab30

View File

@@ -131,7 +131,8 @@ async function saveBookmarkMenu() {
return await createNewBookmark(chat.length - 1); 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) { if (!chat.length) {
toastr.warning('The chat is empty.', 'Branch creation failed'); toastr.warning('The chat is empty.', 'Branch creation failed');
return; return;