Fixed client-side IACDN setting.
This commit is contained in:
parent
ccb1d91a5b
commit
b57d723d62
3 changed files with 13 additions and 6 deletions
|
|
@ -137,7 +137,7 @@ class settingsPanel extends panelObj{
|
|||
//If we hit enter
|
||||
if(event.key == "Enter"){
|
||||
//If we have an invalid server string
|
||||
if(!(this.iaCDN.value.match(/^ia[0-9]{6}\...$/g) || this.iaCDN.value == "")){
|
||||
if(!(this.iaCDN.value.match(/^(ia|dn)[0-9]{6}\...$/g) || this.iaCDN.value == "")){
|
||||
//reset back to what was set before
|
||||
this.iaCDN.value = localStorage.getItem('IACDN');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue