Skip to content

Commit

Permalink
Fix compatibility with "invisible bullet" template
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbth committed Sep 28, 2024
1 parent 9a0e657 commit 5d29c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommentSkeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ class CommentSkeleton {
// This can run a second time from .updateLevels() → .reviewDives() →
// .updateHighlightables(), so the might have added the wrapper already.
(el.className && el.className !== 'cd-comment-replacedPart') ||
el.getAttribute('style')
(el.getAttribute('style') && el.tagName !== 'LI')
))
.forEach((el) => {
const wrapper = document.createElement('div');
Expand Down

0 comments on commit 5d29c2e

Please sign in to comment.