diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy index f8a97819b..73775aabc 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 0c8eb334f..c8dee126e 100644 --- a/apps/presentationeditor/main/index.html.deploy +++ b/apps/presentationeditor/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); } } diff --git a/apps/spreadsheeteditor/main/index.html.deploy b/apps/spreadsheeteditor/main/index.html.deploy index cafb71dd4..c1964a9c1 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); } }