diff options
Diffstat (limited to 'src/webpack')
-rw-r--r-- | src/webpack/webpack.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/webpack.ts b/src/webpack/webpack.ts index 0d95587..a37fe6d 100644 --- a/src/webpack/webpack.ts +++ b/src/webpack/webpack.ts @@ -67,7 +67,7 @@ export function _initWebpack(instance: typeof window.webpackChunkdiscord_app) { instance.pop(); } -if (IS_DEV && !IS_WEB) { +if (IS_DEV && IS_DISCORD_DESKTOP) { var devToolsOpen = false; // At this point in time, DiscordNative has not been exposed yet, so setImmediate is needed setTimeout(() => { |