From e680106071cafd046043e2a95f2e4578a3ed3e68 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 16 Nov 2022 12:28:41 +0300 Subject: [PATCH] Fix Bug 59743 --- apps/common/main/lib/controller/ReviewChanges.js | 2 +- apps/common/mobile/lib/controller/collaboration/Review.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/common/main/lib/controller/ReviewChanges.js b/apps/common/main/lib/controller/ReviewChanges.js index 74faea0ae..52ebd79c9 100644 --- a/apps/common/main/lib/controller/ReviewChanges.js +++ b/apps/common/main/lib/controller/ReviewChanges.js @@ -401,7 +401,7 @@ define([ if (value.Get_SmallCaps() !== undefined) proptext += ((value.Get_SmallCaps() ? '' : me.textNot) + me.textSmallCaps + ', '); if (value.Get_VertAlign() !== undefined) - proptext += (((value.Get_VertAlign()==1) ? me.textSuperScript : ((value.Get_VertAlign()==2) ? me.textSubScript : me.textBaseline)) + ', '); + proptext += (((value.Get_VertAlign()===Asc.vertalign_SuperScript) ? me.textSuperScript : ((value.Get_VertAlign()===Asc.vertalign_SubScript) ? me.textSubScript : me.textBaseline)) + ', '); if (value.Get_Color() !== undefined) proptext += (me.textColor + ', '); if (value.Get_Highlight() !== undefined) diff --git a/apps/common/mobile/lib/controller/collaboration/Review.jsx b/apps/common/mobile/lib/controller/collaboration/Review.jsx index d6db4d966..820bfa2ea 100644 --- a/apps/common/mobile/lib/controller/collaboration/Review.jsx +++ b/apps/common/mobile/lib/controller/collaboration/Review.jsx @@ -277,7 +277,7 @@ class ReviewChange extends Component { } if (value.Get_VertAlign() !== undefined) { proptext.length > 0 && proptext.push(); - proptext.push(); + proptext.push(); } if (value.Get_Color() !== undefined) { proptext.length > 0 && proptext.push();