mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
fix(client/search): highlight remaining stuck
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user