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 +}());