Unbreak timelines
| @@ -131,7 +131,8 @@ async function saveBookmarkMenu() { | |||
| 131 | return await createNewBookmark(chat.length - 1); | 131 | return await createNewBookmark(chat.length - 1); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | async function createBranch(mesId) { | 134 | // Export is used by Timelines extension. Do not remove. |
| 135 | export async function createBranch(mesId) { | ||
| 135 | if (!chat.length) { | 136 | if (!chat.length) { |
| 136 | toastr.warning('The chat is empty.', 'Branch creation failed'); | 137 | toastr.warning('The chat is empty.', 'Branch creation failed'); |
| 137 | return; | 138 | return; |