Unified · Split
| @@ -221,7 +221,10 @@ class app.DB · 220 unmodified lines | |||
| 221 | return | 221 | return |
| 222 | 222 | ||
| 223 | useIndexedDB: -> | 223 | useIndexedDB: -> |
| 224 | !app.isSingleDoc() and !!window.indexedDB | 224 | try |
| 225 | !app.isSingleDoc() and !!window.indexedDB | ||
| 226 | catch | ||
| 227 | false | ||
| 225 | 228 | ||
| 226 | indexedDBVersion: -> | 229 | indexedDBVersion: -> |
| 227 | if app.config.env is 'production' then app.config.version else Date.now() / 1000 | 230 | if app.config.env is 'production' then app.config.version else Date.now() / 1000 |