mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-25 01:24:05 +02:00
Fix focusing of changeset comment field upon save
This commit is contained in:
@@ -54,7 +54,7 @@ export function uiChangesetEditor(context) {
|
||||
|
||||
|
||||
if (initial) {
|
||||
var commentField = selection.select('#preset-input-comment');
|
||||
var commentField = selection.select('.form-field-comment textarea');
|
||||
var commentNode = commentField.node();
|
||||
|
||||
if (commentNode) {
|
||||
|
||||
Reference in New Issue
Block a user