diff --git a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js index b0ac19f25..114601e6a 100644 --- a/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js +++ b/apps/documenteditor/mobile/app/controller/edit/EditParagraph.js @@ -150,7 +150,7 @@ define([ $('#paragraph-distance-before .item-after label').text(_paragraphInfo.spaceBefore < 0 ? 'Auto' : distanceBeforeFix + ' ' + metricText); $('#paragraph-distance-after .item-after label').text(_paragraphInfo.spaceAfter < 0 ? 'Auto' : distanceAfterFix + ' ' + metricText); - $('#paragraph-space input:checkbox').prop('checked', me._paragraphObject.get_ContextualSpacing()); + $('#paragraph-space input:checkbox').prop('checked', !me._paragraphObject.get_ContextualSpacing()); $('#paragraph-page-break input:checkbox').prop('checked', me._paragraphObject.get_PageBreakBefore()); $('#paragraph-page-orphan input:checkbox').prop('checked', me._paragraphObject.get_WidowControl()); $('#paragraph-page-keeptogether input:checkbox').prop('checked', me._paragraphObject.get_KeepLines()); @@ -325,7 +325,7 @@ define([ onSpaceBetween: function (e) { var $checkbox = $(e.currentTarget); - this.api.put_AddSpaceBetweenPrg($checkbox.is(':checked')); + this.api.put_AddSpaceBetweenPrg(!$checkbox.is(':checked')); }, onBreakBefore: function (e) {