Change global search prefix to @

This commit is contained in:
Hamcha 2020-06-28 17:44:20 +02:00
parent bc6a3ad9eb
commit 430d761ef7
Signed by: hamcha
GPG key ID: 41467804B19A3315

View file

@ -63,7 +63,7 @@ export function searchBox(): HTMLElement {
} }
// Check for special flags // Check for special flags
let entries: SearchEntry[] = allEntries; let entries: SearchEntry[] = allEntries;
global = str[0] === ","; global = str[0] === "@";
// Unless we're doing a global search don't show entries for other pages // Unless we're doing a global search don't show entries for other pages
if (!global) { if (!global) {