remove extra loop
This commit is contained in:
parent
87ba2a10ab
commit
734b08d9c6
1 changed files with 1 additions and 6 deletions
|
@ -78,12 +78,7 @@ Ox.AnnotationPanel = function(options, self) {
|
|||
.addClass('OxAnnotation OxTarget');
|
||||
return $item;
|
||||
},
|
||||
items: self.options.items.map(function(v, i) {
|
||||
return {
|
||||
id: v.id || i + '',
|
||||
value: v.value
|
||||
};
|
||||
}),
|
||||
items: self.options.items,
|
||||
max: 1,
|
||||
unique: 'id'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue