mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-08 17:24:30 +00:00
refactor dup var
This commit is contained in:
parent
1d41b5a54f
commit
a6d86dfaf9
@ -6,9 +6,9 @@ try {
|
|||||||
window.localStorage.removeItem('test');
|
window.localStorage.removeItem('test');
|
||||||
|
|
||||||
// Flexbox
|
// Flexbox
|
||||||
var el = document.createElement('div');
|
var elTest = document.createElement('div');
|
||||||
el.style.display = 'flex';
|
elTest.style.display = 'flex';
|
||||||
if (el.style.display !== 'flex') {
|
if (elTest.style.display !== 'flex') {
|
||||||
badBrowser = true;
|
badBrowser = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user