Refactoring

This commit is contained in:
Julia Radzhabova 2021-02-16 19:40:06 +03:00
parent 96d8acdf5f
commit 3a33e84f45

View file

@ -148,11 +148,11 @@ define([
},
onAngleChange: function(field, newValue, oldValue, eOpts) {
this.api && this.api.asc_setCellAngle(field.getNumberValue());
this.api && (newValue!==oldValue) && this.api.asc_setCellAngle(field.getNumberValue());
},
onIndentChange: function(field, newValue, oldValue, eOpts) {
this.api && this.api.asc_setCellIndent(field.getNumberValue());
this.api && (newValue!==oldValue) && this.api.asc_setCellIndent(field.getNumberValue());
},
render: function () {