Restore implicit type conversion in reporter
This commit is contained in:
parent
b301a2f8b9
commit
a9b4a6d731
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ Reporter.prototype.update = function() {
|
|||
if (typeof newValue === 'number' && Math.abs(newValue) > 0.001) {
|
||||
newValue = Math.round(newValue * 1000) / 1000;
|
||||
}
|
||||
newValue = newValue.toString();
|
||||
newValue = '' + newValue;
|
||||
this.valueEl.html(newValue);
|
||||
if (this.mode == 3) {
|
||||
this.slider.val(Number(newValue));
|
||||
|
|
Reference in a new issue