Merge pull request 'fix(search): restore missing readHistory function declaration' (#43) from worktree-fix-search-js-syntax into main

Reviewed-on: CYL/wordpress-theme-aksrt#43
This commit is contained in:
kate522 committed 2026-07-10 23:54:26 +08:00
commit b6b662a618
1 file changed
+2
+2
View File
@@ -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 {