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 | 98 | store = txn.objectStore('docs') |
| 99 | 99 | |
| 100 | 100 | req = store.get(doc.slug) |
| 101 | − req.onsuccess = -> fn(!!req.result) | |
| 101 | + req.onsuccess = -> fn(req.result) | |
| 102 | 102 | req.onerror = -> fn(false) |
| 103 | 103 | return |
| 104 | 104 | return |