From 423038100e151c826a3bf8b00889d413900c60a1 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 24 Jan 2026 12:12:51 +0200 Subject: [PATCH] fix(web-clipper): undefined variable in popup --- apps/web-clipper/entrypoints/popup/popup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web-clipper/entrypoints/popup/popup.js b/apps/web-clipper/entrypoints/popup/popup.js index 775a3ec0c..ec5ee67f8 100644 --- a/apps/web-clipper/entrypoints/popup/popup.js +++ b/apps/web-clipper/entrypoints/popup/popup.js @@ -161,8 +161,7 @@ browser.runtime.onMessage.addListener(request => { if (searchNote.status === 'found'){ const a = createLink({name: 'openNoteInTrilium', noteId: searchNote.noteId}, "Open in Trilium.") - noteFound = `Already visited website!`; - $alreadyVisited.html(noteFound); + $alreadyVisited.text(`Already visited website!`); $alreadyVisited[0].appendChild(a); }else{ $alreadyVisited.html('');