mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Simplify if check.
This commit is contained in:
parent
51eb01d7bd
commit
72a0f0d376
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue