From 04769b81c097d4fb0a39d084305209dccefb138e Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Thu, 9 Jan 2020 10:55:52 +0100 Subject: [PATCH] FIx unwanted redirection to album/playlist/artist when clicking on play button --- front/src/components/audio/PlayButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/components/audio/PlayButton.vue b/front/src/components/audio/PlayButton.vue index 5462c599a..2c7474672 100644 --- a/front/src/components/audio/PlayButton.vue +++ b/front/src/components/audio/PlayButton.vue @@ -3,7 +3,7 @@ <button v-if="!dropdownOnly" :title="labels.playNow" - @click="addNext(true)" + @click.stop.prevent="addNext(true)" :disabled="!playable" :class="buttonClasses.concat(['ui', {loading: isLoading}, {'mini': discrete}, {disabled: !playable}])"> <i :class="[playIconClass, 'icon']"></i> -- GitLab