No dangling promise
| @@ -4885,7 +4885,7 @@ export async function assignLorebookToChat() { | |||
| 4885 | saveMetadata(); | 4885 | saveMetadata(); |
| 4886 | }); | 4886 | }); |
| 4887 | 4887 | ||
| 4888 | callGenericPopup(template, POPUP_TYPE.TEXT); | 4888 | return callGenericPopup(template, POPUP_TYPE.TEXT); |
| 4889 | } | 4889 | } |
| 4890 | 4890 | ||
| 4891 | jQuery(() => { | 4891 | jQuery(() => { |