feat: Add custom emojis, pinned comments, and comment thread locking functionality.
This commit is contained in:
@@ -3,6 +3,8 @@ class CommentSystem {
|
||||
this.container = document.getElementById('comments-container');
|
||||
this.itemId = this.container ? this.container.dataset.itemId : null;
|
||||
this.user = this.container ? this.container.dataset.user : null; // logged in user?
|
||||
this.isAdmin = this.container ? this.container.dataset.isAdmin === 'true' : false;
|
||||
this.isLocked = this.container ? this.container.dataset.isLocked === 'true' : false;
|
||||
this.sort = 'new';
|
||||
|
||||
if (this.itemId) {
|
||||
|
||||
Reference in New Issue
Block a user