Showing the changes to assets/javascripts (1 of 1 file). Show all
Unified · Split
| @@ -23,7 +23,9 @@ class app.DB · 22 unmodified lines | ||
| 23 | 23 | onOpenSuccess: (event) => |
| 24 | 24 | try |
| 25 | 25 | db = event.target.result |
| 26 | − db.transaction(['docs', app.docs.all()[0].slug], 'readwrite').abort() # https://bugs.webkit.org/show_bug.cgi?id=136937 | |
| 26 | + unless @checkedBuggyIDB | |
| 27 | + db.transaction(['docs', app.docs.all()[0].slug], 'readwrite').abort() # https://bugs.webkit.org/show_bug.cgi?id=136937 | |
| 28 | + @checkedBuggyIDB = true | |
| 27 | 29 | catch |
| 28 | 30 | try db.close() |
| 29 | 31 | @onOpenError() |