diff --git a/assets/javascripts/app/db.coffee b/assets/javascripts/app/db.coffee index 2eb5a95d..321d6541 100644 --- a/assets/javascripts/app/db.coffee +++ b/assets/javascripts/app/db.coffee @@ -221,7 +221,10 @@ class app.DB return useIndexedDB: -> - !app.isSingleDoc() and !!window.indexedDB + try + !app.isSingleDoc() and !!window.indexedDB + catch + false indexedDBVersion: -> if app.config.env is 'production' then app.config.version else Date.now() / 1000