Skip to content

Commit

Permalink
Do not repeat firefox in aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Oct 7, 2021
1 parent e32eed6 commit 5257602
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/modern-browsers/modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const browserAliases = {
// that logic, because there is no IE12. #9818 #9839
edge: ['ie'],

firefox: ['firefox', 'firefoxMobile'],
firefox: ['firefoxMobile'],

// The webapp package converts browser names to camel case, so
// mobile_safari and mobileSafari should be synonymous.
Expand Down Expand Up @@ -117,7 +117,6 @@ function getCaller(calleeName) {
return true;
}
});
console.log(caller);
return caller;
}

Expand Down

0 comments on commit 5257602

Please sign in to comment.