Showing the changes to assets/javascripts (1 of 1 file). Show all
Unified · Split
| @@ -98,7 +98,7 @@ class app.DB · 97 unmodified lines | |||
| 98 | store = txn.objectStore('docs') | 98 | store = txn.objectStore('docs') |
| 99 | 99 | ||
| 100 | req = store.get(doc.slug) | 100 | req = store.get(doc.slug) |
| 101 | req.onsuccess = -> fn(!!req.result) | 101 | req.onsuccess = -> fn(req.result) |
| 102 | req.onerror = -> fn(false) | 102 | req.onerror = -> fn(false) |
| 103 | return | 103 | return |
| 104 | return | 104 | return |