Commit ef5e53b5 authored by Julia Radzhabova's avatar Julia Radzhabova

Bug 32139.

parent 11367d01
...@@ -268,7 +268,7 @@ define([ ...@@ -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; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment