mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
fix(client/search): highlight remaining stuck
This commit is contained in:
parent
348432bd5b
commit
1f4dd04ef0
@ -28,7 +28,7 @@ export default function NoteLink({ className, notePath, showNotePath, showNoteIc
|
|||||||
if (!ref.current || !jqueryEl) return;
|
if (!ref.current || !jqueryEl) return;
|
||||||
ref.current.replaceChildren(jqueryEl[0]);
|
ref.current.replaceChildren(jqueryEl[0]);
|
||||||
highlightSearch(ref.current);
|
highlightSearch(ref.current);
|
||||||
}, [ jqueryEl ]);
|
}, [ jqueryEl, highlightedTokens ]);
|
||||||
|
|
||||||
if (style) {
|
if (style) {
|
||||||
jqueryEl?.css(style);
|
jqueryEl?.css(style);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user