diff --git a/client/components/app/MediaPlayerContainer.vue b/client/components/app/MediaPlayerContainer.vue index 2e0afc55..120231dc 100644 --- a/client/components/app/MediaPlayerContainer.vue +++ b/client/components/app/MediaPlayerContainer.vue @@ -29,7 +29,7 @@
- close +
-
+
+
@@ -38,8 +38,8 @@ export default { }, set(val) { try { - localStorage.setItem("volume", val); - } catch(error) { + localStorage.setItem('volume', val) + } catch (error) { console.error('Failed to store volume', err) } this.$emit('input', val) @@ -146,7 +146,7 @@ export default { if (this.value === 0) { this.isMute = true } - const storageVolume = localStorage.getItem("volume") + const storageVolume = localStorage.getItem('volume') if (storageVolume) { this.volume = parseFloat(storageVolume) } diff --git a/client/components/player/PlayerPlaybackControls.vue b/client/components/player/PlayerPlaybackControls.vue index a66e40d6..91bc3be3 100644 --- a/client/components/player/PlayerPlaybackControls.vue +++ b/client/components/player/PlayerPlaybackControls.vue @@ -2,21 +2,21 @@