From 23d1d5204e7a7bc32a523c12fc9faa8439e271b2 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 7 Dec 2020 13:22:38 +0300 Subject: [PATCH] [all][xp] fix bug 47868 --- apps/documenteditor/main/index.html.deploy | 2 +- apps/presentationeditor/main/index.html.deploy | 2 +- apps/spreadsheeteditor/main/index.html.deploy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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); } }