mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-14 06:10:28 +05:30
fix npe
This commit is contained in:
parent
8eec6b2d49
commit
71f11ab031
@ -292,7 +292,8 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.player.on("volumechange", () => {
|
this.player.on("volumechange", () => {
|
||||||
this.audioplayer.volume = this.player.volume();
|
if (this.audioplayer)
|
||||||
|
this.audioplayer.volume = this.player.volume();
|
||||||
if (localStorage)
|
if (localStorage)
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
"volume",
|
"volume",
|
||||||
|
Loading…
Reference in New Issue
Block a user