diff --git a/src/components/VideoItem.vue b/src/components/VideoItem.vue index ec89e677..dc81d841 100644 --- a/src/components/VideoItem.vue +++ b/src/components/VideoItem.vue @@ -196,6 +196,7 @@ export default { }, markAsWatched(videoId) { if (window.db) { + // Should match WatchVideo.vue var tx = window.db.transaction("watch_history", "readwrite"); var store = tx.objectStore("watch_history"); var request = store.get(videoId);