From befceed00ce677befe0ae9fa5122390e391207d4 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 9 Jul 2020 16:35:06 -0300 Subject: replace existing empty tab when loading playlist --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.js b/ui.js index 41ab4cc..f333b7a 100644 --- a/ui.js +++ b/ui.js @@ -1124,7 +1124,7 @@ class AppElement extends FocusElement { grouplike = await processSmartPlaylist(grouplike) - if (newTab || !this.tabber.currentElement) { + if (!this.tabber.currentElement || newTab && this.tabber.currentElement.grouplike) { const grouplikeListing = this.newGrouplikeListing() grouplikeListing.loadGrouplike(grouplike) } else { -- cgit 1.3.0-6-gf8a5