diff --git a/src/components/reply-quote-preview/reply-quote-preview.tsx b/src/components/reply-quote-preview/reply-quote-preview.tsx index 77337079..3e0644b3 100644 --- a/src/components/reply-quote-preview/reply-quote-preview.tsx +++ b/src/components/reply-quote-preview/reply-quote-preview.tsx @@ -35,11 +35,9 @@ const handleQuoteHover = (cid: string, onElementOutOfView: () => void) => { if (isInViewport(htmlElement)) { const hasHighlight = Array.from(htmlElement.classList).some((className) => className.includes('highlight') && !className.includes('double-highlight')); if (hasHighlight) { - console.log('contains highlight'); htmlElement.classList.remove('highlight'); htmlElement.classList.add('double-highlight'); } else { - console.log("doesn't contain highlight", htmlElement.classList); htmlElement.classList.remove('double-highlight'); htmlElement.classList.add('highlight'); }