updates
This commit is contained in:
@@ -11,7 +11,7 @@ export class AppendOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof data === 'string') {
|
if (typeof data === 'string') {
|
||||||
Object.entries(JSON.parse(data.countries)).forEach(([k, v]) => target.append(new Option(v, k)));
|
Object.entries(JSON.parse(data)).forEach(([k, v]) => target.append(new Option(v, k)));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user