From 82c9487144214b4b8c5db9688dffa8de049a342c Mon Sep 17 00:00:00 2001 From: Eliot Berriot <contact@eliotberriot.com> Date: Thu, 15 Jun 2017 23:12:34 +0200 Subject: [PATCH] Remove restore queue popup when user add a new track to queue --- src/audio/queue.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio/queue.js b/src/audio/queue.js index ac04e0f..975f35c 100644 --- a/src/audio/queue.js +++ b/src/audio/queue.js @@ -91,6 +91,7 @@ class Queue { cache.set('volume', newValue) } append (track, index) { + this.previousQueue = null index = index || this.tracks.length if (index > this.tracks.length - 1) { // we simply push to the end -- GitLab