From 7b410ab4c605928ce72d9c07f4784954999d9dda Mon Sep 17 00:00:00 2001 From: Ev Bogue Date: Thu, 26 Dec 2019 16:23:37 -0600 Subject: temporarily disable image cache --- bog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bog.js b/bog.js index c5cb679..e9477ed 100644 --- a/bog.js +++ b/bog.js @@ -104,9 +104,9 @@ function getImage (id, keys, classList) { } localforage.getItem('image:' + id).then(cache => { - if (cache) { - return image.src = cache - } else { + //if (cache) { + // return image.src = cache + //} else { bog().then(log => { if (log) { for (var i = 0; i < log.length; i++) { @@ -124,7 +124,7 @@ function getImage (id, keys, classList) { } } }) - } + //} }) return image } -- cgit v1.2.3-70-g09d2