firefox restriction removed

pull/1/head
Aniket-Engg 5 years ago
parent f57feeab4b
commit df3d49329e
  1. 4
      src/app/tabs/compileTab/compilerContainer.js

@ -319,8 +319,8 @@ class CompilerContainer {
}
url = `${this.data.baseurl}/${this.data.selectedVersion}`
}
const isFirefox = typeof InstallTrigger !== 'undefined'
if (document.location.protocol !== 'file:' && Worker !== undefined && isFirefox) {
// Check if browser is compatible with web worker
if (document.location.protocol !== 'file:' && Worker !== undefined) {
// Workers cannot load js on "file:"-URLs and we get a
// "Uncaught RangeError: Maximum call stack size exceeded" error on Chromium,
// resort to non-worker version in that case.

Loading…
Cancel
Save