No need to namespace changeset keys

This commit is contained in:
Bryan Housel
2015-03-20 22:23:44 -04:00
parent 8458ca400b
commit cfad723893
+7 -7
View File
@@ -243,13 +243,13 @@ iD.Connection = function() {
connection.changesetTags = function(comment, imageryUsed) {
var detected = iD.detect(),
tags = {
created_by: 'iD ' + iD.version,
imagery_used: imageryUsed.join(';').substr(0, 255),
'iD:host': (window.location.origin + window.location.pathname).substr(0, 255),
'iD:locale': detected.locale,
'iD:browser': detected.browser + ' ' + detected.version,
'iD:platform': detected.platform
};
created_by: 'iD ' + iD.version,
imagery_used: imageryUsed.join(';').substr(0, 255),
host: (window.location.origin + window.location.pathname).substr(0, 255),
locale: detected.locale,
browser: detected.browser + ' ' + detected.version,
platform: detected.platform
};
if (comment) {
tags.comment = comment.substr(0, 255);