@@ -110,6 +110,7 @@
reset: ->
@store.clear()
@settings.reset()
+ @db.reset()
@appCache?.update()
window.location = '/'
return
@@ -108,6 +108,9 @@ class app.DB
txn
+ reset: ->
+ try indexedDB?.deleteDatabase(NAME) catch
+
useIndexedDB: ->
!app.isSingleDoc() and !!window.indexedDB