More robust GPX parsing

This commit is contained in:
vdv committed 2022-12-10 21:39:58 +01:00
1 parent 882e5545fd
commit b2955c8bbd
1 file changed
+2 -2
+2 -2
View File
@@ -1,8 +1,8 @@
export default class Link {
constructor(object) {
this.$ = {};
this.$.href = object.$.href || object.href;
this.$.href = object.$?.href || object.href;
this.text = object.text;
this.type = object.type;
}
}
}