Fixed bar not going away after selecting default settings
This commit is contained in:
parent
50e53f8507
commit
0765375063
1 changed files with 6 additions and 5 deletions
|
|
@ -16,11 +16,12 @@ const attachDebugger = (tabId: number) => {
|
|||
],
|
||||
(storage) => {
|
||||
if (
|
||||
storage.timezone ||
|
||||
storage.lat ||
|
||||
storage.lon ||
|
||||
storage.locale ||
|
||||
storage.userAgent
|
||||
(storage.timezone ||
|
||||
storage.lat ||
|
||||
storage.lon ||
|
||||
storage.locale ||
|
||||
storage.userAgent) &&
|
||||
!storage.userAgentBrowserDefault
|
||||
) {
|
||||
chrome.debugger.attach({ tabId: tabId }, '1.3', () => {
|
||||
if (!chrome.runtime.lastError) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue