Compare commits
7 Commits
v0.1.7
...
351114ab79
Author | SHA1 | Date | |
---|---|---|---|
351114ab79
|
|||
fbedc4fa85
|
|||
2f522820b1
|
|||
5d97576544
|
|||
d16b88a499
|
|||
4df7f72312
|
|||
af28cefba0
|
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ailog"
|
||||
version = "0.1.7"
|
||||
version = "0.1.6"
|
||||
edition = "2021"
|
||||
authors = ["syui"]
|
||||
description = "A static blog generator with AI features"
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<!-- OAuth Comment System - Load globally for session management -->
|
||||
<script type="module" crossorigin src="/assets/comment-atproto-mfW-OeY_.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-Cm5qR-aM.css">
|
||||
<script type="module" crossorigin src="/assets/comment-atproto-BV-Fzslr.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-6vwaM28e.css">
|
@@ -262,8 +262,8 @@ function setupAskAIEventListeners() {
|
||||
}
|
||||
}
|
||||
|
||||
// Enter key to send message (only when not composing Japanese input)
|
||||
if (e.key === 'Enter' && e.target.id === 'aiQuestion' && !e.shiftKey && !e.isComposing) {
|
||||
// Enter key to send message
|
||||
if (e.key === 'Enter' && e.target.id === 'aiQuestion' && !e.shiftKey) {
|
||||
e.preventDefault();
|
||||
askQuestion();
|
||||
}
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<!-- OAuth Comment System - Load globally for session management -->
|
||||
<script type="module" crossorigin src="/assets/comment-atproto-mfW-OeY_.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-Cm5qR-aM.css">
|
||||
<script type="module" crossorigin src="/assets/comment-atproto-BV-Fzslr.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/comment-atproto-6vwaM28e.css">
|
@@ -910,7 +910,3 @@
|
||||
color: #656d76;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.chat-message.comment-style {
|
||||
border-left: 4px solid var(--theme-color);
|
||||
}
|
@@ -1493,9 +1493,10 @@ function App() {
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Comment Form - Only show on post pages when Comments tab is active */}
|
||||
{user && appConfig.rkey && activeTab === 'comments' && (
|
||||
{/* Comment Form - Only show on post pages */}
|
||||
{user && appConfig.rkey && (
|
||||
<div className="comment-form">
|
||||
<h3>Post a Comment</h3>
|
||||
<textarea
|
||||
id="comment-text"
|
||||
name="commentText"
|
||||
|
Reference in New Issue
Block a user