Remove instance flag from home location

This commit is contained in:
Natsumi
2021-06-25 18:21:01 +12:00
parent 473fa1a7ca
commit c302ebfd4c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -819,7 +819,7 @@ speechSynthesis.getVoices();
} }
} }
this.region = ''; this.region = '';
if ((this.location !== '') && (!L.isOffline) && (!L.isPrivate)) { if ((this.location !== '') && (L.instanceId) && (!L.isOffline) && (!L.isPrivate)) {
if (L.region === 'eu') { if (L.region === 'eu') {
this.region = 'europeanunion'; this.region = 'europeanunion';
} else if (L.region === 'jp') { } else if (L.region === 'jp') {
+1 -1
View File
@@ -502,7 +502,7 @@ speechSynthesis.getVoices();
} }
} }
this.region = ''; this.region = '';
if ((this.location !== '') && (!L.isOffline) && (!L.isPrivate)) { if ((this.location !== '') && (L.instanceId) && (!L.isOffline) && (!L.isPrivate)) {
if (L.region === 'eu') { if (L.region === 'eu') {
this.region = 'europeanunion'; this.region = 'europeanunion';
} else if (L.region === 'jp') { } else if (L.region === 'jp') {