fix input_slider with min>100 (#189)

* fix input_slider with min>100

* Don't update max twice

* Update state-card-input_slider.html

* Update state-card-input_slider.html
This commit is contained in:
andrey-git 2017-02-01 10:17:05 +02:00 committed by Paulus Schoutsen
parent 0f06434501
commit f55154ddea

View File

@ -59,8 +59,8 @@ Polymer({
stateObjectChanged: function (newVal) {
this.value = Number(newVal.state);
this.min = Number(newVal.attributes.min);
this.max = Number(newVal.attributes.max);
this.min = Number(newVal.attributes.min);
this.step = Number(newVal.attributes.step);
},