Skip to content

Commit

Permalink
Look for all tabs including the inactive tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Gokul K authored and Gokul K committed May 3, 2024
1 parent a49abdd commit 2bd3ada
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 @@ -17,7 +17,7 @@ function toggleMuteState(tabId, muted) {
}

async function getJioCinemaTab() {
let queryOptions = { active: true, url: "*://www.jiocinema.com/*" };
let queryOptions = { url: "*://www.jiocinema.com/*" };
// `tab` will either be a `tabs.Tab` instance or `undefined`.
let [tab] = await chrome.tabs.query(queryOptions);
return tab;
Expand Down

0 comments on commit 2bd3ada

Please sign in to comment.