mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-20 15:34:49 +02:00
Merge pull request #2617 from species/master
fix: build.js tests wrong fields in validatePresetFields()
This commit is contained in:
@@ -177,8 +177,6 @@ function validateCategoryPresets(categories, presets) {
|
||||
}
|
||||
|
||||
function validatePresetFields(presets, fields) {
|
||||
var presets = rp('presets.json'),
|
||||
fields = rp('fields.json');
|
||||
_.forEach(presets, function(preset) {
|
||||
if (preset.fields) {
|
||||
preset.fields.forEach(function(field) {
|
||||
|
||||
Reference in New Issue
Block a user