Skip to content

Commit

Permalink
text box for speed setting is changed to not case-sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Jun 18, 2018
1 parent c457807 commit 20956a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/scripts/config/aria2Options.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
suffix: 'Bytes',
defaultValue: '0',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'max-connection-per-server': {
type: 'integer',
Expand All @@ -92,7 +92,7 @@
suffix: 'Bytes',
defaultValue: '20M',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'netrc-path': {
type: 'string',
Expand Down Expand Up @@ -363,7 +363,7 @@
suffix: 'Bytes',
defaultValue: '50K',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'bt-save-metadata': {
type: 'boolean',
Expand Down Expand Up @@ -461,14 +461,14 @@
suffix: 'Bytes',
defaultValue: '0',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'max-upload-limit': {
type: 'string',
suffix: 'Bytes',
defaultValue: '0',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'peer-id-prefix': {
type: 'string',
Expand Down Expand Up @@ -711,7 +711,7 @@
suffix: 'Bytes',
defaultValue: '9223372036854775807',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'max-resume-failure-tries': {
type: 'integer',
Expand Down Expand Up @@ -741,7 +741,7 @@
suffix: 'Bytes',
defaultValue: '1M',
required: true,
pattern: '^(0|[1-9]\\d*M?)$'
pattern: '^(0|[1-9]\\d*(M|m)?)$'
},
'show-console-readout': {
type: 'boolean',
Expand All @@ -759,14 +759,14 @@
suffix: 'Bytes',
defaultValue: '0',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'max-download-limit': {
type: 'string',
suffix: 'Bytes',
defaultValue: '0',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'no-conf': {
type: 'boolean',
Expand All @@ -777,7 +777,7 @@
suffix: 'Bytes',
defaultValue: '5M',
required: true,
pattern: '^(0|[1-9]\\d*(K|M)?)$'
pattern: '^(0|[1-9]\\d*(K|k|M|m)?)$'
},
'parameterized-uri': {
type: 'boolean',
Expand Down

0 comments on commit 20956a8

Please sign in to comment.