Revert "have warning support all browser versions".

Webpack conventions still cause IE8 to break.

This reverts commit a8531038622d2419a3da342ddfe0c356a90e4eee.
This commit is contained in:
Danny Skubak 2018-06-29 16:17:18 -04:00
parent a853103862
commit eb28572788
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ try {
} }
if (badBrowser) { if (badBrowser) {
var el = document.getElementById('BadBrowserWarning'); var el = document.getElementsByClassName('BadBrowser')[0];
el.className += ' is-open'; el.className += ' is-open';
// Dumb check for known mobile OS's. Not important to catch all, just // Dumb check for known mobile OS's. Not important to catch all, just
// displays more appropriate information. // displays more appropriate information.

View File

@ -37,7 +37,7 @@
</div> </div>
</noscript> </noscript>
<div id="BadBrowserWarning" class="BadBrowser" style="display: none;"> <div class="BadBrowser" style="display: none;">
<div class="BadBrowser-content"> <div class="BadBrowser-content">
<h2>Your Browser is Out of Date</h2> <h2>Your Browser is Out of Date</h2>
<p class="is-desktop"> <p class="is-desktop">