Skip to content

Commit

Permalink
build update
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Laktionov committed Oct 5, 2020
1 parent b052ec2 commit 8f05354
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,7 @@ var isMobileAndTabletType = function isMobileAndTabletType() {
};

var isEdgeChromiumType = function isEdgeChromiumType() {
if (os.name === OS_TYPES.WINDOWS && os.version === '10') {
return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
}

return false;
return typeof ua === 'string' && ua.indexOf('Edg/') !== -1;
};

var isSmartTVType = function isSmartTVType() {
Expand Down Expand Up @@ -552,7 +548,7 @@ var isIPhone13 = getIphone13();
var isIPod13 = getIPod13();
var isElectron = isElectronType();
var isEdgeChromium = isEdgeChromiumType();
var isLegacyEdge = isEdgeType();
var isLegacyEdge = isEdgeType() && !isEdgeChromiumType();
var isWindows = isWindowsType();
var isMacOs = isMacOsType();
var isMIUI = isMIUIType();
Expand Down

0 comments on commit 8f05354

Please sign in to comment.