jacobwb / hashover-next

This branch will be HashOver 2.0
GNU Affero General Public License v3.0
420 stars 87 forks source link

Is there a way to not display the status of deleted comments? #242

Open btayalew opened 6 years ago

btayalew commented 6 years ago

After I deleted some comments in the database their status is still displayed in the thread. Is there a way to stop displaying the status of deleted comments?

jacobwb commented 5 years ago

Sorry for the long delay.

Unfortunately, there is not. You can hide them using CSS, though...

With something like this:

.hashover .hashover-deleted {
    display: none;
}

If the comment had replies, they will be hidden as well.

This code will hide deleted comments that don't have replies:

.hashover .hashover-deleted:not(.hashover-has-replies) {
    display: none;
}

I hope this helps.

jcubic commented 4 years ago

Ther should be a way to permanently delete the comment because if you have 3 comments that got delete you don't see any comments, you need to click more to see first comment.