mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
restore highlighting of empty changeset comment field
restores behaviour from #4624/#4624, but switch to a neutral emphasis instead of the red color (which might be misinterpreted that the user already made a mistake)
This commit is contained in:
@@ -463,9 +463,6 @@ export function uiCommit(context) {
|
||||
|
||||
function changeTags(_, changed, onInput) {
|
||||
if (changed.hasOwnProperty('comment')) {
|
||||
if (changed.comment === undefined) {
|
||||
changed.comment = '';
|
||||
}
|
||||
if (!onInput) {
|
||||
prefs('comment', changed.comment);
|
||||
prefs('commentDate', Date.now());
|
||||
|
||||
Reference in New Issue
Block a user