Make search autocomplete respect link target setting (#513)

This commit is contained in:
Sascha Ißbrücker
2023-08-24 10:22:05 +02:00
committed by GitHub
parent f9496e2fe0
commit 768f1346a3
3 changed files with 4 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
export let mode = '';
export let apiClient;
export let filters;
export let linkTarget = '_blank';
let isFocus = false;
let isOpen = false;
@@ -164,7 +165,7 @@
close()
}
if (suggestion.type === 'bookmark') {
window.open(suggestion.bookmark.url, '_blank')
window.open(suggestion.bookmark.url, linkTarget)
close()
}
if (suggestion.type === 'tag') {