summaryrefslogtreecommitdiffstats
path: root/theme/javascript/core/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'theme/javascript/core/search.js')
-rw-r--r--theme/javascript/core/search.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/theme/javascript/core/search.js b/theme/javascript/core/search.js
index bc1a31b..4171660 100644
--- a/theme/javascript/core/search.js
+++ b/theme/javascript/core/search.js
@@ -17,16 +17,7 @@ define([
// Load complete index
var loadIndex = function() {
- var cacheKey = state.revision+":"+"searchIndex";
- var cache = storage.get(cacheKey);
-
- if (cache) return useIndex(cache);
-
$.getJSON(state.basePath+"/search_index.json")
- .then(function(index) {
- storage.set(cacheKey, index);
- return index;
- })
.then(useIndex);
};