fix(search): restore missing readHistory function declaration
The function body was left as a bare statement after setSearchType, which made search.js fail to parse (Unexpected identifier 'window') and broke the frontend search panel.
This commit is contained in:
1 parent
6f6e431bb3
commit
711fb9ad14
1 file changed
+2
@@ -91,6 +91,8 @@
|
|||||||
syncCategorySelectors(nextType, getDesktopCategory());
|
syncCategorySelectors(nextType, getDesktopCategory());
|
||||||
requestSuggestions();
|
requestSuggestions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function readHistory() {
|
||||||
if (!historyEnabled) return [];
|
if (!historyEnabled) return [];
|
||||||
if (aksrtData.isLoggedIn) return [];
|
if (aksrtData.isLoggedIn) return [];
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in new issue
Block a user