mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
Resolve audioTag undefined error (#4363)
This commit is contained in:
parent
61d5e5833a
commit
6528c53874
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default Vue.extend({
|
|||
},
|
||||
mounted() {
|
||||
const audioTag = this.$refs.audio as HTMLAudioElement;
|
||||
audioTag.volume = this.$store.state.device.mediaVolume;
|
||||
if (audioTag) audioTag.volume = this.$store.state.device.mediaVolume;
|
||||
},
|
||||
methods: {
|
||||
volumechange() {
|
||||
|
|
Loading…
Reference in a new issue