Skip to content

Commit 201336e

Browse files
committed
Remove flag check - doesn't work there
1 parent 12b73b9 commit 201336e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const header = document.getElementById('outdated-browser');
22
const outdatedFeatures = Object.keys(Modernizr).filter(feature => !Modernizr[feature]);
3-
const unsupportedBrowserFlag = getFeatureFlag('frontier_snow_unsupportedBrowser', {appName: process.env.APP_NAME});
43

5-
if (unsupportedBrowserFlag && outdatedFeatures.length > 0 && !embeddedMobile && header) {
4+
if (outdatedFeatures.length > 0 && !embeddedMobile && header) {
65
header.style.display = 'block';
76
}

packages/react-scripts/layout/views/partials/outdatedBrowserHeader.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
padding: 10px 20px;
66
color: #B14402;
77
background-color: #FAECB4;
8+
font-size: 14px;
89
"
910
>
1011
<div style="display: flex; align-items: center; justify-content: center;">

0 commit comments

Comments
 (0)