From 36c1bf7f90c73537ea28c211485f32460f0479f5 Mon Sep 17 00:00:00 2001
From: Eliot Berriot <contact@eliotberriot.com>
Date: Thu, 25 Jul 2019 14:34:46 +0200
Subject: [PATCH] Fixed a typo in audio unlock code

---
 front/src/components/audio/Player.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/front/src/components/audio/Player.vue b/front/src/components/audio/Player.vue
index f074c14e0..0be5182d1 100644
--- a/front/src/components/audio/Player.vue
+++ b/front/src/components/audio/Player.vue
@@ -385,7 +385,7 @@ export default {
           self.ended()
         },
         onunlock: function () {
-          if (this.$store.state.player.playing) {
+          if (self.$store.state.player.playing) {
             self.soundId = self.sound.play(self.soundId)
           }
         },
-- 
GitLab