mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-10-15 20:08:23 +00:00
Make eslint work with vue files
This commit is contained in:

committed by
FireMasterK

parent
3349cd69c9
commit
c8639c2ce7
@@ -193,7 +193,7 @@ export default {
|
||||
var tx = window.db.transaction("watch_history", "readonly");
|
||||
var store = tx.objectStore("watch_history");
|
||||
var request = store.get(this.video.id);
|
||||
request.onsuccess = function(event) {
|
||||
request.onsuccess = function (event) {
|
||||
var video = event.target.result;
|
||||
if (video && video.currentTime) {
|
||||
videoEl.currentTime = video.currentTime;
|
||||
@@ -477,7 +477,7 @@ export default {
|
||||
var tx = window.db.transaction("watch_history", "readwrite");
|
||||
var store = tx.objectStore("watch_history");
|
||||
var request = store.get(this.video.id);
|
||||
request.onsuccess = function(event) {
|
||||
request.onsuccess = function (event) {
|
||||
var video = event.target.result;
|
||||
if (video) {
|
||||
video.currentTime = time;
|
||||
|
@@ -199,7 +199,7 @@ export default {
|
||||
var tx = window.db.transaction("watch_history", "readwrite");
|
||||
var store = tx.objectStore("watch_history");
|
||||
var request = store.get(videoId);
|
||||
request.onsuccess = function(event) {
|
||||
request.onsuccess = function (event) {
|
||||
var video = event.target.result;
|
||||
if (video) {
|
||||
video.watchedAt = Date.now();
|
||||
|
Reference in New Issue
Block a user