mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-24 00:54:03 +02:00
fix 'other' preset
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@ iD.presets = function(context) {
|
||||
// an iD.presets.Collection with methods for
|
||||
// loading new data and returning defaults
|
||||
|
||||
var other = {
|
||||
var other = iD.presets.Preset({
|
||||
name: 'other',
|
||||
icon: 'marker-stroked',
|
||||
match: {
|
||||
@@ -11,7 +11,7 @@ iD.presets = function(context) {
|
||||
type: ['point', 'vertex', 'line', 'area']
|
||||
},
|
||||
form: []
|
||||
},
|
||||
}),
|
||||
all = iD.presets.Collection([iD.presets.Preset(other)]),
|
||||
defaults = { area: all, line: all, point: all, vertex: all },
|
||||
forms = {},
|
||||
|
||||
Reference in New Issue
Block a user