mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
[XForms] range regression, no thumb showing. Bug 366743, p=msterlin, r=surkov+aaronr
This commit is contained in:
parent
899e3ef95f
commit
111d9f014c
@ -192,7 +192,7 @@
|
||||
var value = parseFloat(aValue);
|
||||
if (isNaN(value))
|
||||
return false;
|
||||
return this.start >= value && value <= this.end;
|
||||
return value >= this.start && value <= this.end;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
@ -397,7 +397,7 @@
|
||||
value = this.max;
|
||||
|
||||
var boxobj = this.sliderController;
|
||||
if (!isNaN(value) && this.value != value)
|
||||
if (!isNaN(this.value) && this.value != value)
|
||||
this.eraseSlider(boxobj.getXCoordFromValue(this.value));
|
||||
this.drawSlider(boxobj.getXCoordFromValue(value));
|
||||
this.setAttribute("value", value);
|
||||
|
Loading…
Reference in New Issue
Block a user