Skip to content

Commit

Permalink
fix: 🐛 hide ie11 banner before styles are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Spielmann committed Nov 11, 2020
1 parent 69a0222 commit 94bf7cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions config/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const resolveModule = (resolveFn, filePath) => {
if (extension) {
return resolveFn(`${filePath}.${extension}`);
}

return resolveFn(`${filePath}.js`);
};

Expand All @@ -56,7 +55,7 @@ module.exports = {
appBuild: resolveApp('build'),
appPublic: resolveApp('public'),
appEntryPoints: {
app: resolveModule(resolveApp, 'src/components/app/initNavigation'),
app: resolveModule(resolveApp, 'src/components/app/initApp'),
login: resolveModule(resolveApp, 'src/components/login/initLogin'),
registration: resolveModule(resolveApp, 'src/components/registration/initRegistration')
},
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pages/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

</head>

<body role="document" class="{{bodyClass}}">
<p class="ieBanner">
<body role="document">
<p class="ieBanner" style="display:none;">
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewbox="0 0 72 72">
<path d="M37.7654935,7.31698782 L67.4353219,63.0603018 C67.9543029,64.035357 67.5845817,65.2465126 66.6095266,65.7654935 C66.3202373,65.9194701 65.9975433,66 65.6698284,66 L6.33017157,66 C5.22560207,66 4.33017157,65.1045695 4.33017157,64 C4.33017157,63.6722851 4.41070152,63.3495911 4.56467805,63.0603018 L34.2345065,7.31698782 C34.7534874,6.34193268 35.964643,5.9722115 36.9396982,6.49119247 C37.29099,6.67817038 37.5785156,6.96569598 37.7654935,7.31698782 Z M39,46 L39,26 L33,26 L33,46 L39,46 Z M39,56.4 L39,50.4 L33,50.4 L33,56.4 L39,56.4 Z" />
</svg>
Expand Down

0 comments on commit 94bf7cb

Please sign in to comment.