mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-22 13:37:23 +00:00
fix npe
This commit is contained in:
parent
8eec6b2d49
commit
71f11ab031
@ -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…
Reference in New Issue
Block a user