mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	fix npe
This commit is contained in:
		
							parent
							
								
									3c30bf8060
								
							
						
					
					
						commit
						2c8e662f9e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -292,7 +292,8 @@ export default {
 | 
			
		|||
                        });
 | 
			
		||||
 | 
			
		||||
                        this.player.on("volumechange", () => {
 | 
			
		||||
                            this.audioplayer.volume = this.player.volume();
 | 
			
		||||
                            if (this.audioplayer)
 | 
			
		||||
                                this.audioplayer.volume = this.player.volume();
 | 
			
		||||
                            if (localStorage)
 | 
			
		||||
                                localStorage.setItem(
 | 
			
		||||
                                    "volume",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue