remove console logs

This commit is contained in:
Danny Skubak 2018-06-29 15:00:24 -04:00
parent a6d86dfaf9
commit d62bb23483
2 changed files with 1 additions and 5 deletions

View File

@ -6,5 +6,4 @@ const arrowCheck = (() => new Date())();
if (letCheck && constCheck && arrowCheck) {
window.localStorage.setItem('goodBrowser', 'true');
console.log('badBrowserCheckA: PASS')
}

View File

@ -8,7 +8,7 @@ try {
// Flexbox
var elTest = document.createElement('div');
elTest.style.display = 'flex';
if (elTest.style.display !== 'flex') {
if (elTesdt.style.display !== 'flex') {
badBrowser = true;
}
@ -23,7 +23,6 @@ try {
}
if (badBrowser) {
console.log('badBrowserCheckB: FAIL');
var el = document.getElementsByClassName('BadBrowser')[0];
el.className += ' is-open';
// Dumb check for known mobile OS's. Not important to catch all, just
@ -31,6 +30,4 @@ if (badBrowser) {
if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) {
el.className += ' is-mobile';
}
} else {
console.log('badBrowserCheckB: PASS')
}