mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-08 05:23:11 +08:00
Added option to open links in the same tab for apps/bookamrs/search separately
This commit is contained in:
@@ -11,7 +11,7 @@ export const searchParser = (searchQuery: string): boolean => {
|
||||
const query = queries.find((q: Query) => q.prefix === prefix);
|
||||
|
||||
if (query) {
|
||||
const sameTab = searchConfig('openSameTab', false);
|
||||
const sameTab = searchConfig('searchSameTab', false);
|
||||
|
||||
if (sameTab) {
|
||||
document.location.replace(`${query.template}${search}`);
|
||||
|
||||
Reference in New Issue
Block a user