mirror of
https://github.com/transmission/transmission
synced 2025-03-19 10:15:36 +00:00
allow decimal values in seedRatioLimit input (#2618)
Co-authored-by: Jeff Fredrickson <jeff.fredrickson@gmail.com>
This commit is contained in:
parent
83db648b3c
commit
9f050587d7
2 changed files with 5 additions and 1 deletions
2
web/public_html/transmission-app.js
generated
2
web/public_html/transmission-app.js
generated
File diff suppressed because one or more lines are too long
|
@ -272,6 +272,8 @@ export class PrefsDialog extends EventTarget {
|
|||
|
||||
input = document.createElement('input');
|
||||
input.type = 'number';
|
||||
input.min = '0.1';
|
||||
input.step = 'any';
|
||||
input.dataset.key = 'seedRatioLimit';
|
||||
root.append(input);
|
||||
PrefsDialog._enableIfChecked(input, cal.check);
|
||||
|
@ -287,6 +289,8 @@ export class PrefsDialog extends EventTarget {
|
|||
|
||||
input = document.createElement('input');
|
||||
input.type = 'number';
|
||||
input.min = '0.1';
|
||||
input.step = 'any';
|
||||
input.dataset.key = 'idle-seeding-limit';
|
||||
root.append(input);
|
||||
PrefsDialog._enableIfChecked(input, cal.check);
|
||||
|
|
Loading…
Add table
Reference in a new issue