Merge pull request #3597 from nielsvanvelzen/qc-text-input
Use text input in Quick Connect page (cherry picked from commit f7e2f07c059ceb1532ec27103ab8acd1aa59ec7a) Signed-off-by: crobibero <cody@robibe.ro>
This commit is contained in:
parent
74faffa9b4
commit
4c709dcf44
2 changed files with 4 additions and 2 deletions
|
@ -15,7 +15,9 @@ export default function (view) {
|
|||
return;
|
||||
}
|
||||
|
||||
authorize(codeElement.value);
|
||||
// Remove spaces from code
|
||||
const normalizedCode = codeElement.value.replace(/\s/g, '');
|
||||
authorize(normalizedCode);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue