The comment.html.twig contains a 'new' class. The comment-new-indicator.js adds this class if needed, so the 'new' class is redundant in the template.
Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | comments-new-indicator.png | 212.56 KB | BarisW |
| #1 | remove-stray-new-class-2350505-1.patch | 648 bytes | BarisW |
Comments
Comment #1
BarisW commentedComment #2
fabianx commentedGood catch, and even very important for proper render caching to have at least dependent classes as possible :).
I assume you tested that the new class is still present for new comments ...
Comment #3
BarisW commentedYes, to proof: here's a screenshot.
Comment #4
alexpottCommitted 3d938a3 and pushed to 8.0.x. Thanks!