diff --git a/client/pages/audiobook/_id/index.vue b/client/pages/audiobook/_id/index.vue index 8c7ead81..4729262f 100644 --- a/client/pages/audiobook/_id/index.vue +++ b/client/pages/audiobook/_id/index.vue @@ -438,6 +438,7 @@ export default { } }, mounted() { + this.windowWidth = window.innerWidth window.addEventListener('resize', this.resize) this.$store.commit('audiobooks/addListener', { id: 'audiobook', audiobookId: this.audiobookId, meth: this.audiobookUpdated })