Skip to content

Commit

Permalink
Fixed debugger bar not disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
z0ccc committed Jan 30, 2023
1 parent bb14534 commit 10dc61f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ const attachDebugger = (tabId: number) => {
storage.lon ||
storage.locale ||
storage.userAgent) &&
(!storage.locationBrowserDefault || !storage.userAgentBrowserDefault)
((storage.locationBrowserDefault !== undefined && !storage.locationBrowserDefault) || (storage.userAgentBrowserDefault !== undefined && !storage.userAgentBrowserDefault))
) {

chrome.debugger.attach({ tabId: tabId }, '1.3', () => {
if (!chrome.runtime.lastError) {
if (!storage.locationBrowserDefault) {
Expand Down

0 comments on commit 10dc61f

Please sign in to comment.