Bug 32139.

This commit is contained in:
Julia Radzhabova 2016-04-11 12:50:42 +03:00
parent 11367d0108
commit ef5e53b595

View file

@ -268,7 +268,7 @@ define([
} }
} }
if (this.options.defaultUnit !== units) { if (this.options.defaultUnit !== units && !showError) {
number = this._recalcUnits(number, units); number = this._recalcUnits(number, units);
} }
if (number > this.options.maxValue) { number = this.options.maxValue; showError = true; } if (number > this.options.maxValue) { number = this.options.maxValue; showError = true; }