mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-28 14:04:45 -04:00
Clean code.
This commit is contained in:
parent
0a843a0b1f
commit
0b57b1cbd2
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
(function () {
|
||||
|
||||
if (function () {
|
||||
var div = document.createElement('div');
|
||||
div.innerHTML = '<!--[if lt IE 10]><br><![endif]-->';
|
||||
return div.getElementsByTagName('br').length;
|
||||
var el = document.createElement('i');
|
||||
el.innerHTML = '<!--[if lt IE 10]><br><![endif]-->';
|
||||
return el.getElementsByTagName('br').length;
|
||||
}()) {
|
||||
document.documentElement.className = 'js no-browser';
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue