diff options
author | Ajay <[email protected]> | 2023-02-24 14:21:17 -0500 |
---|---|---|
committer | Ajay <[email protected]> | 2023-02-24 14:25:05 -0500 |
commit | f331e0cdf5b3b774613c8efb35aecff8efd2d75d (patch) | |
tree | 1928cc6fe2024811427ecea19cec65f91388e220 | |
parent | f3da71c12f0f65c83c616f08985f12d1d95891e0 (diff) | |
download | SponsorBlock-f331e0cdf5b3b774613c8efb35aecff8efd2d75d.tar.gz SponsorBlock-f331e0cdf5b3b774613c8efb35aecff8efd2d75d.zip |
Lower case and trim invidious instances
-rw-r--r-- | src/options.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.ts b/src/options.ts index e963a683..2034aff5 100644 --- a/src/options.ts +++ b/src/options.ts @@ -430,7 +430,7 @@ function invidiousInstanceAddInit(element: HTMLElement, option: string) { let instanceList = Config.config[option]; if (!instanceList) instanceList = []; - instanceList.push(textBox.value); + instanceList.push(textBox.value.trim().toLowerCase()); Config.config[option] = instanceList; |