From a8531038622d2419a3da342ddfe0c356a90e4eee Mon Sep 17 00:00:00 2001 From: Danny Skubak Date: Fri, 29 Jun 2018 15:32:25 -0400 Subject: [PATCH] have warning support all browser versions --- common/badBrowserCheckB.js | 2 +- common/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/badBrowserCheckB.js b/common/badBrowserCheckB.js index f7133c99..bf0a06d5 100644 --- a/common/badBrowserCheckB.js +++ b/common/badBrowserCheckB.js @@ -23,7 +23,7 @@ try { } if (badBrowser) { - var el = document.getElementsByClassName('BadBrowser')[0]; + var el = document.getElementById('BadBrowserWarning'); el.className += ' is-open'; // Dumb check for known mobile OS's. Not important to catch all, just // displays more appropriate information. diff --git a/common/index.html b/common/index.html index cac71d94..e3f81cd1 100644 --- a/common/index.html +++ b/common/index.html @@ -37,7 +37,7 @@ -