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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user