feat: Add SQL migration for custom emojis, pinned comments, and thread locking, and remove the comments refresh button from the UI.

This commit is contained in:
x
2026-01-25 15:34:20 +01:00
parent b1a6b177c2
commit a32462953d

View File

@@ -230,7 +230,7 @@ class CommentSystem {
<option value="new" ${this.sort === 'new' ? 'selected' : ''}>Newest</option>
</select>
${currentUserId ? `<button id="subscribe-btn" class="${subClass}">${subText}</button>` : ''}
<button id="refresh-comments">Refresh</button>
${lockBtn}
</div>
</div>
@@ -503,13 +503,7 @@ class CommentSystem {
});
}
// Refresh
const refBtn = this.container.querySelector('#refresh-comments');
if (refBtn) {
refBtn.addEventListener('click', async () => {
this.loadComments();
});
}
// Lock Thread
const lockBtn = this.container.querySelector('#lock-thread-btn');