Skip to content

Commit 38688fd

Browse files
committed
Don't get options on content script load
Solve issued like angular/angular#14297
1 parent 565ab9a commit 38688fd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/browser/extension/inject/contentScript.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
import { getOptionsFromBg, injectOptions, isAllowed } from '../options/syncOptions';
1+
import { injectOptions, isAllowed } from '../options/syncOptions';
22
const source = '@devtools-extension';
33
let connected = false;
44
let bg;
55

6-
if (!window.devToolsOptions) getOptionsFromBg();
7-
86
function connect() {
97
// Connect to the background script
108
connected = true;

0 commit comments

Comments
 (0)