mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
Remove inline forms
No good way to give them IDs; better to be consistent.
This commit is contained in:
@@ -7,11 +7,7 @@ iD.presets.Preset = function(preset, forms) {
|
||||
preset.additional = preset.additional ? preset.additional.map(getForms) : [];
|
||||
|
||||
function getForms(f) {
|
||||
if (typeof f === 'string') {
|
||||
return forms[f];
|
||||
} else {
|
||||
return iD.presets.Form(f, f.key);
|
||||
}
|
||||
return forms[f];
|
||||
}
|
||||
|
||||
preset.matchGeometry = function(entity, resolver) {
|
||||
|
||||
Reference in New Issue
Block a user