diff --git a/src/app/tabs/compileTab/compilerContainer.js b/src/app/tabs/compileTab/compilerContainer.js index d7823058dc..5394b517fd 100644 --- a/src/app/tabs/compileTab/compilerContainer.js +++ b/src/app/tabs/compileTab/compilerContainer.js @@ -411,9 +411,11 @@ class CompilerContainer { _retrieveOS () { let osName = 'Unknown OS' - if (navigator.platform.indexOf('Win') !== -1) osName = 'Windows' - if (navigator.platform.indexOf('Mac') !== -1) osName = 'MacOS' - if (navigator.platform.indexOf('Linux') !== -1) osName = 'Linux' + if (navigator.platform.indexOf('Win') !== -1) { + osName = 'Windows' + } else if (navigator.platform.indexOf('Linux') !== -1) { + osName = 'Linux' + } return osName }