This commit is contained in:
FireMasterK 2021-01-20 21:30:18 +05:30
parent 8eec6b2d49
commit 71f11ab031
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58

View File

@ -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",