fix double toggle collapse
This commit is contained in:
parent
470e6ac127
commit
0ea08dfc0c
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,8 @@ Ox.AnnotationFolder = function(options, self) {
|
||||||
self.position = self.options.position;
|
self.position = self.options.position;
|
||||||
}
|
}
|
||||||
} else if (key == 'collapsed') {
|
} else if (key == 'collapsed') {
|
||||||
self.$panel.options({collapsed: self.options.collapsed});
|
self.options.collapsed = !self.options.collapsed;
|
||||||
|
self.$panel.options({collapsed: !self.options.collapsed});
|
||||||
self.options.type == 'event' && self.$calendar.resizeCalendar()
|
self.options.type == 'event' && self.$calendar.resizeCalendar()
|
||||||
self.options.type == 'map' && self.$map.resizeMap()
|
self.options.type == 'map' && self.$map.resizeMap()
|
||||||
} else if (key == 'languages') {
|
} else if (key == 'languages') {
|
||||||
|
|
Loading…
Reference in a new issue