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
8eec6b2d49
commit
71f11ab031
1 changed files with 2 additions and 1 deletions
|
@ -292,6 +292,7 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.player.on("volumechange", () => {
|
this.player.on("volumechange", () => {
|
||||||
|
if (this.audioplayer)
|
||||||
this.audioplayer.volume = this.player.volume();
|
this.audioplayer.volume = this.player.volume();
|
||||||
if (localStorage)
|
if (localStorage)
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue