Set the debug global if the debug feature is enabled.
This commit is contained in:
parent
2954c93af5
commit
f3f12282e3
|
@ -18,6 +18,7 @@ async function initialize() {
|
|||
const start = window.performance.now();
|
||||
initializeGlobals();
|
||||
const enabledFeatures = await fromStorage(Data.EnabledFeatures);
|
||||
window.TildesReExtended.debug = enabledFeatures.value.has(Feature.Debug);
|
||||
|
||||
// Any features that will use the knownGroups data should be added to this
|
||||
// array so that when groups are changed on Tildes, TRX can still update
|
||||
|
|
Loading…
Reference in New Issue