[DE mobile] Fix Bug 48030

This commit is contained in:
Julia Radzhabova 2020-12-25 19:22:34 +03:00
parent 100f3ec398
commit 6617b2f618

View file

@ -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) {