mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
fix: code formating issue
This commit is contained in:
parent
ca892e24d3
commit
8010968363
@ -82,7 +82,7 @@ export function highlightElement(
|
||||
color: string = "var(--highlight, #ffeb3b40)",
|
||||
) {
|
||||
// Clear any existing highlight on this element
|
||||
const existingHighlight = Array.from(activeHighlights).find(h => h.element === el)
|
||||
const existingHighlight = Array.from(activeHighlights).find((h) => h.element === el)
|
||||
if (existingHighlight) {
|
||||
clearTimeout(existingHighlight.timeoutId)
|
||||
activeHighlights.delete(existingHighlight)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user