mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-14 01:33:03 +00:00
insert blank name localization field at top
This commit is contained in:
@@ -78,7 +78,7 @@ iD.ui.preset.localized = function(field, context) {
|
||||
var wraps = selection.selectAll('div.entry').
|
||||
data(data, function(d) { return d.lang; });
|
||||
|
||||
wraps.enter().append('div')
|
||||
wraps.enter().insert('div', ':first-child')
|
||||
.attr('class', 'entry')
|
||||
.each(function(d) {
|
||||
var wrap = d3.select(this);
|
||||
@@ -136,7 +136,7 @@ iD.ui.preset.localized = function(field, context) {
|
||||
}
|
||||
}
|
||||
|
||||
localizedInputs.call(render, postfixed);
|
||||
localizedInputs.call(render, postfixed.reverse());
|
||||
};
|
||||
|
||||
i.focus = function() {
|
||||
|
||||
Reference in New Issue
Block a user