mirror of
https://github.com/zadam/trilium.git
synced 2026-02-11 08:14:39 +01:00
fix(web-clipper): undefined variable in popup
This commit is contained in:
parent
75e88c69bd
commit
423038100e
@ -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('');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user