From 91bd68e1f37ab5028698744870f4a85b8040d0c7 Mon Sep 17 00:00:00 2001 From: go1dfish Date: Mon, 7 Jan 2019 04:03:26 -0800 Subject: [PATCH] Fix apparent copy/paste error in rindexed.js Looks like this should be doPut instead of doGet since doGet is not defined in this scope. --- lib/rindexed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rindexed.js b/lib/rindexed.js index 8d250ec8..532e4e30 100644 --- a/lib/rindexed.js +++ b/lib/rindexed.js @@ -57,7 +57,7 @@ }; } if(!db){ - waitDbReady(doGet, 100, function(){ + waitDbReady(doPut, 100, function(){ var es = 'ERROR: Timeout: RAD IndexedDB not ready.'; console.log(es); cb(es, undefined); @@ -126,4 +126,4 @@ } else { module.exports = Store; } -}()); \ No newline at end of file +}());