mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 06:35:20 +02:00
Fix node parsing
Old nodes may be missing user and uid for example, node 60743409
This commit is contained in:
+2
-2
@@ -80,8 +80,8 @@ iD.Connection = function(context) {
|
||||
loc: [parseFloat(attrs.lon.nodeValue), parseFloat(attrs.lat.nodeValue)],
|
||||
version: attrs.version.nodeValue,
|
||||
changeset: attrs.changeset.nodeValue,
|
||||
user: attrs.user.nodeValue,
|
||||
uid: attrs.uid.nodeValue,
|
||||
user: attrs.user && attrs.user.nodeValue,
|
||||
uid: attrs.uid && attrs.uid.nodeValue,
|
||||
visible: attrs.visible.nodeValue,
|
||||
timestamp: attrs.timestamp.nodeValue,
|
||||
tags: getTags(obj)
|
||||
|
||||
Reference in New Issue
Block a user