We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c3f6f1 commit c50c525Copy full SHA for c50c525
ext/js/background/backend.js
@@ -2309,7 +2309,7 @@ class Backend {
2309
const offscreenUrl = chrome.runtime.getURL('offscreen.html');
2310
if (!chrome.runtime.getContexts) { // chrome version <116
2311
const matchedClients = await clients.matchAll();
2312
- return !!(await matchedClients.some((client) => client.url === offscreenUrl));
+ return await matchedClients.some((client) => client.url === offscreenUrl);
2313
}
2314
2315
const contexts = await chrome.runtime.getContexts({
0 commit comments