mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-08-09 20:24:09 +00:00
fix npe
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user