diff --git a/assets/javascripts/app/db.coffee b/assets/javascripts/app/db.coffee index 3b72d075..c6129386 100644 --- a/assets/javascripts/app/db.coffee +++ b/assets/javascripts/app/db.coffee @@ -65,7 +65,7 @@ class app.DB db.createObjectStore('docs') for doc in app.docs.all() when not $.arrayDelete(objectStoreNames, doc.slug) - db.createObjectStore(doc.slug) + try db.createObjectStore(doc.slug) for name in objectStoreNames try db.deleteObjectStore(name)