mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
No need to namespace changeset keys
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user