summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-06-29 18:26:36 +0300
committerAndrew Dolgov <[email protected]>2018-06-29 18:26:36 +0300
commit90f84b529554d3f41cc710868fc43954dafaf7eb (patch)
tree888e74ef78b3eb8abb4e2bb94a4130e7a8ff0ef4
parentf738e738eb2a353498da91272c565eb44d0d6250 (diff)
offline_cache: store pagination in new objects
-rw-r--r--js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/index.js b/js/index.js
index 520e35d..c51515b 100644
--- a/js/index.js
+++ b/js/index.js
@@ -109,7 +109,7 @@ function offline_cache(bookId, callback) {
console.log(cacheId + ' got pagination');
resp.text().then(function(text) {
- localforage.setItem(cacheId + '.pagination', JSON.parse(text));
+ localforage.setItem(cacheId + '.locations', JSON.parse(text));
});
}
});