Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function globalsearch(txt) {
}

const language = getLanguage()
const key = `search-${language}`;
const key = `search2-${language}`;
let cache = window.localStorage.getItem(key);
cache = JSON.parse(cache);

Expand Down
1 change: 1 addition & 0 deletions js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const initPHPSearch = async (language) => {
items = await response.json();

try {
// Note: These indexes are also used by globalsearch in common.js
localStorage.setItem(
key,
JSON.stringify({
Expand Down