mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
Bustage fix for bug 442419: allow custom max for progressmeter
This commit is contained in:
parent
bd835c9f4a
commit
baf5e8144e
@ -46,7 +46,7 @@
|
||||
</property>
|
||||
<property name="max"
|
||||
onget="return this.getAttribute('max') || '100';"
|
||||
onset="this.setAttribute("max", isNaN(val) ? 100 : Math.max(val, 1);
|
||||
onset="this.setAttribute('max', isNaN(val) ? 100 : Math.max(val, 1);
|
||||
this.value = this.value;
|
||||
return val;" />
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user