babycode editor: change ctrl+enter shortcut to use requestSubmit to fire bitty signals

This commit is contained in:
2026-06-06 00:41:21 +03:00
parent 200bd37a28
commit 84dbaa2cd8
2 changed files with 2 additions and 1 deletions

View File

@@ -114,6 +114,7 @@ export function babycodeEditorCharCount(evOrPayload, sender, el) {
export function clearThreadDraft(_, __, ___) {
const threadId = getThreadId();
if (threadId === -1) return;
localStorage.removeItem(`thread-${threadId}`);
}