aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEv Bogue <ev@evbogue.com>2019-12-26 16:23:37 -0600
committerEv Bogue <ev@evbogue.com>2019-12-26 16:23:37 -0600
commit7b410ab4c605928ce72d9c07f4784954999d9dda (patch)
tree7d4323f2b2212ec19dd4023a7906e0e55255fe6d
parent047b88d8deb5b4338b4162f519de7ef570d98ae2 (diff)
temporarily disable image cache
-rw-r--r--bog.js8
1 files 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
}