aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/auth/ChangeServer.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/auth/ChangeServer.js b/src/components/auth/ChangeServer.js
index 081f2d61f..aa4598928 100644
--- a/src/components/auth/ChangeServer.js
+++ b/src/components/auth/ChangeServer.js
@@ -121,7 +121,10 @@ class ChangeServer extends Component {
121 {!this.defaultServers.includes(form.$('server').value) && ( 121 {!this.defaultServers.includes(form.$('server').value) && (
122 <Input 122 <Input
123 placeholder="Custom Server" 123 placeholder="Custom Server"
124 onChange={e => this.submit(e)} 124 onChange={e => {
125 this.form.$('customServer').value = this.form.$('customServer').value.replace(/\/$/, "");
126 this.submit(e)
127 }}
125 field={form.$('customServer')} 128 field={form.$('customServer')}
126 /> 129 />
127 )} 130 )}