fix comment-tab

This commit is contained in:
2025-06-15 22:34:44 +09:00
parent 619675b551
commit be86c11e74
5 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,3 @@
<!-- OAuth Comment System - Load globally for session management -->
<script type="module" crossorigin src="/assets/comment-atproto-C2nhj09r.js"></script>
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-6vwaM28e.css">
<script type="module" crossorigin src="/assets/comment-atproto-mfW-OeY_.js"></script>
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-Cm5qR-aM.css">

View File

@ -262,8 +262,8 @@ function setupAskAIEventListeners() {
}
}
// Enter key to send message
if (e.key === 'Enter' && e.target.id === 'aiQuestion' && !e.shiftKey) {
// Enter key to send message (only when not composing Japanese input)
if (e.key === 'Enter' && e.target.id === 'aiQuestion' && !e.shiftKey && !e.isComposing) {
e.preventDefault();
askQuestion();
}