From 90f84b529554d3f41cc710868fc43954dafaf7eb Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 29 Jun 2018 18:26:36 +0300 Subject: offline_cache: store pagination in new objects --- js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }); } }); -- cgit v1.2.3