mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 23:47:25 +00:00
Simplify if check.
This commit is contained in:
parent
51eb01d7bd
commit
72a0f0d376
@ -214,7 +214,7 @@ export default {
|
|||||||
var request = store.get(this.video.id);
|
var request = store.get(this.video.id);
|
||||||
request.onsuccess = function (event) {
|
request.onsuccess = function (event) {
|
||||||
var video = event.target.result;
|
var video = event.target.result;
|
||||||
if (video && video.currentTime) {
|
if (video?.currentTime) {
|
||||||
videoEl.currentTime = video.currentTime;
|
videoEl.currentTime = video.currentTime;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user