mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-09 15:26:46 +02:00
Clean code.
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
(function () {
|
(function () {
|
||||||
|
|
||||||
if (function () {
|
if (function () {
|
||||||
var div = document.createElement('div');
|
var el = document.createElement('i');
|
||||||
div.innerHTML = '<!--[if lt IE 10]><br><![endif]-->';
|
el.innerHTML = '<!--[if lt IE 10]><br><![endif]-->';
|
||||||
return div.getElementsByTagName('br').length;
|
return el.getElementsByTagName('br').length;
|
||||||
}()) {
|
}()) {
|
||||||
document.documentElement.className = 'js no-browser';
|
document.documentElement.className = 'js no-browser';
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user