diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy
index d5ecefe47..113e142f1 100644
--- a/apps/documenteditor/main/index.html.deploy
+++ b/apps/documenteditor/main/index.html.deploy
@@ -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);
}
}
diff --git a/apps/presentationeditor/main/index.html.deploy b/apps/presentationeditor/main/index.html.deploy
index 1daea0d25..cc73a526c 100644
--- a/apps/presentationeditor/main/index.html.deploy
+++ b/apps/presentationeditor/main/index.html.deploy
@@ -210,7 +210,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);
}
}
diff --git a/apps/spreadsheeteditor/main/index.html.deploy b/apps/spreadsheeteditor/main/index.html.deploy
index 434ef9789..a9f04142e 100644
--- a/apps/spreadsheeteditor/main/index.html.deploy
+++ b/apps/spreadsheeteditor/main/index.html.deploy
@@ -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);
}
}