Skip to content

Commit 6daaa67

Browse files
authored
Update background.js
1 parent d335f26 commit 6daaa67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ async function denyPause(id, exclude, skipLast, allowbg) {
426426
if (id === exclude) return true;
427427
if (allowbg && state.backgroundaudio.has(id)) return true;
428428
if (skipLast && id === state.lastPlaying) return true;
429-
if (hasProperty(options, 'allowactive')) {
429+
if (hasProperty(options, 'allowactive') && exclude !== false) {
430430
const tab = await chrome.tabs.get(id);
431431
if (tab.active) return true;
432432
}

0 commit comments

Comments
 (0)