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:
2026-07-10 23:54:26 +08:00
+2
View File
@@ -91,6 +91,8 @@
syncCategorySelectors(nextType, getDesktopCategory());
requestSuggestions();
}
function readHistory() {
if (!historyEnabled) return [];
if (aksrtData.isLoggedIn) return [];
try {