diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-09 16:35:06 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-09 16:35:36 -0300 |
commit | befceed00ce677befe0ae9fa5122390e391207d4 (patch) | |
tree | d35629b7ec2ba02e716815a5d4d15effee3b8d12 | |
parent | 8baf386abdf611acd855e61578f06cf7ac8f014f (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 { |