Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed May 19, 2024
1 parent b301eea commit a740926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webextensions/sidebar/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ const mImportedTabs = new Promise((resolve, _reject) => {
resolve([]);
return;
}
log(`mImportedTabs (${windowId}): onBackgroundIsReady `, message && message.type, message && message.windowId);
log(`mImportedTabs (${windowId}): onBackgroundIsReady `, message?.type, message?.windowId);
if (message?.type != Constants.kCOMMAND_NOTIFY_BACKGROUND_READY ||
message?.windowId != windowId)
return;
Expand Down

0 comments on commit a740926

Please sign in to comment.