soiz1 commited on
Commit
a05bd91
·
verified ·
1 Parent(s): 68e8828

Update src/extension-support/extension-manager.js

Browse files
src/extension-support/extension-manager.js CHANGED
@@ -8,9 +8,9 @@ const Cast = require('../util/cast');
8
 
9
  const AddonSwitches = require('./extension-addon-switchers');
10
  window.__cpLocation = window.location;
11
- const urlParams = new URLSearchParams(window.__cpLocation.search);
12
 
13
- const IsLocal = String(window.__cpLocation.href).startsWith(`http://localhost:`);
14
  const IsLiveTests = urlParams.has('livetests');
15
 
16
  // thhank yoh random stack droverflwo person
 
8
 
9
  const AddonSwitches = require('./extension-addon-switchers');
10
  window.__cpLocation = window.location;
11
+ const urlParams = new URLSearchParams(window.location.search);
12
 
13
+ const IsLocal = String(window.location.href).startsWith(`http://localhost:`);
14
  const IsLiveTests = urlParams.has('livetests');
15
 
16
  // thhank yoh random stack droverflwo person