mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-04 06:31:55 +00:00 
			
		
		
		
	Simplify if check.
This commit is contained in:
		@@ -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;
 | 
			
		||||
                    }
 | 
			
		||||
                };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user