mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-12 19:17:30 +00:00
have warning support all browser versions
This commit is contained in:
parent
d62bb23483
commit
a853103862
@ -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.
|
||||
|
@ -37,7 +37,7 @@
|
||||
</div>
|
||||
</noscript>
|
||||
|
||||
<div class="BadBrowser" style="display: none;">
|
||||
<div id="BadBrowserWarning" class="BadBrowser" style="display: none;">
|
||||
<div class="BadBrowser-content">
|
||||
<h2>Your Browser is Out of Date</h2>
|
||||
<p class="is-desktop">
|
||||
|
Loading…
x
Reference in New Issue
Block a user