From 674ab9f6d67b6fb66c7c9e3e9b0da1ea23ab068c Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Tue, 3 Dec 2019 09:27:24 +0100 Subject: [PATCH] removed MacOs check --- src/app/tabs/compileTab/compilerContainer.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 }