mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-14 04:08:21 +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);
|
||||
request.onsuccess = function (event) {
|
||||
var video = event.target.result;
|
||||
if (video && video.currentTime) {
|
||||
if (video?.currentTime) {
|
||||
videoEl.currentTime = video.currentTime;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user