()
| 1797 | } |
| 1798 | |
| 1799 | function getCommentItems(): HTMLElement[] { |
| 1800 | return getIndexedElements('[data-comments-idx]', 'commentsIdx') |
| 1801 | } |
| 1802 | |
| 1803 | function findCommentPosition(items: HTMLElement[], activeCommentId: string | null): number { |
| 1804 | if (items.length === 0) return 0 |
no test coverage detected