     db.close()
     return
 
-  onOpenError: =>
+  onOpenError: (event) =>
+    event?.preventDefault()
     @useIndexedDB = @open = false
     @runCallbacks()
     return

      @cachedDocs[cursor.key] = cursor.value
      cursor.continue()
      return
    return

  shouldLoadWithIDB: (entry) ->


      docs.forEach (doc) ->
        req = store.get(doc.slug)
        req.onsuccess = ->
          result[doc.slug] = req.result
          return
        req.onerror = (event) ->
          event.preventDefault()
          result[doc.slug] = false
          return
        return
      return

