mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 09:34:04 +02:00
Fix issue where upload would be blocked despite changeset comment
This commit is contained in:
@@ -435,8 +435,7 @@ export function uiCommit(context) {
|
||||
return t('commit.outstanding_errors_message', { count: errors.length });
|
||||
|
||||
} else {
|
||||
var n = d3_select('#preset-input-comment').node();
|
||||
var hasChangesetComment = n && n.value.length > 0;
|
||||
var hasChangesetComment = _changeset && _changeset.tags.comment && _changeset.tags.comment.trim().length;
|
||||
if (!hasChangesetComment) {
|
||||
return t('commit.comment_needed_message');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user