diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-09 16:35:06 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-09 16:35:06 -0300 |
commit | 580f427cbf549bbb3943d85465901a995acebb0f (patch) | |
tree | 7bdfc1a514470e7a38afd1d0bce9b20cd0d6bdb2 | |
parent | b07f167f86106200ed5ae4ce545c364490d4f397 (diff) |
replace existing empty tab when loading playlist
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |