mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Merge branch 'feature-add-seen' of https://github.com/crhallberg/Piped into feature-add-seen
This commit is contained in:
commit
9c8c8d8164
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ export default {
|
||||||
},
|
},
|
||||||
markAsWatched(videoId) {
|
markAsWatched(videoId) {
|
||||||
if (window.db) {
|
if (window.db) {
|
||||||
|
// Should match WatchVideo.vue
|
||||||
var tx = window.db.transaction("watch_history", "readwrite");
|
var tx = window.db.transaction("watch_history", "readwrite");
|
||||||
var store = tx.objectStore("watch_history");
|
var store = tx.objectStore("watch_history");
|
||||||
var request = store.get(videoId);
|
var request = store.get(videoId);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue