diff --git a/modules/ui/changeset_editor.js b/modules/ui/changeset_editor.js index 2c4a41de1..121861294 100644 --- a/modules/ui/changeset_editor.js +++ b/modules/ui/changeset_editor.js @@ -38,7 +38,7 @@ export function uiChangesetEditor(context) { _fieldsArr.forEach(function(field) { field .on('change', function(t, onInput) { - dispatch.call('change', field, t, onInput); + dispatch.call('change', field, undefined, t, onInput); }); }); } diff --git a/modules/ui/commit.js b/modules/ui/commit.js index 2fbb88134..51eb9ed4b 100644 --- a/modules/ui/commit.js +++ b/modules/ui/commit.js @@ -444,7 +444,7 @@ export function uiCommit(context) { } - function changeTags(changed, onInput) { + function changeTags(_, changed, onInput) { if (changed.hasOwnProperty('comment')) { if (changed.comment === undefined) { changed.comment = '';