[all][xp] fix bug 47868

This commit is contained in:
Maxim Kadushkin 2020-12-07 13:22:38 +03:00
parent aee9ea57c0
commit 23d1d5204e
3 changed files with 3 additions and 3 deletions

View file

@ -169,7 +169,7 @@
var re = /chrome\/(\d+)/i.exec(userAgent);
if (!!re && !!re[1] && !(re[1] > 49)) {
setTimeout(function () {
document.getElementsByTagName('body')[0].className += "winxp";
document.getElementsByTagName('html')[0].className += "winxp";
},0);
}
}

View file

@ -206,7 +206,7 @@
var re = /chrome\/(\d+)/i.exec(userAgent);
if (!!re && !!re[1] && !(re[1] > 49)) {
setTimeout(function () {
document.getElementsByTagName('body')[0].className += "winxp";
document.getElementsByTagName('html')[0].className += "winxp";
},0);
}
}

View file

@ -206,7 +206,7 @@
var re = /chrome\/(\d+)/i.exec(userAgent);
if (!!re && !!re[1] && !(re[1] > 49)) {
setTimeout(function () {
document.getElementsByTagName('body')[0].className += "winxp";
document.getElementsByTagName('html')[0].className += "winxp";
},0);
}
}