Skip to content

Commit

Permalink
Update background.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NDevTK authored Feb 1, 2024
1 parent 892a292 commit dcf9fa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function getResumeTab(exclude) {
return state.activeTab
}

const resumableMedia = Array.from(tabs).filter(id => id !== exclude);
const resumableMedia = Array.from(tabs).filter(id => id !== exclude && !state.legacyMedia.has(id));

if (resumableMedia.length > 0) {
return resumableMedia.pop();
Expand Down

0 comments on commit dcf9fa3

Please sign in to comment.