diff options
author | Andrew Dolgov <[email protected]> | 2018-06-29 18:26:36 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-06-29 18:26:36 +0300 |
commit | 90f84b529554d3f41cc710868fc43954dafaf7eb (patch) | |
tree | 888e74ef78b3eb8abb4e2bb94a4130e7a8ff0ef4 /js/index.js | |
parent | f738e738eb2a353498da91272c565eb44d0d6250 (diff) |
offline_cache: store pagination in new objects
Diffstat (limited to 'js/index.js')
-rw-r--r-- | js/index.js | 2 |
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)); }); } }); |