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