update collapsed state if options.collapsed is changed

This commit is contained in:
j 2015-03-23 17:26:08 +05:30
parent f81a07fc37
commit 69cd6ceed8

View file

@ -78,6 +78,10 @@ Ox.AnnotationFolder = function(options, self) {
crossesPoint() && updateAnnotations();
self.position = self.options.position;
}
} else if (key == 'collapsed') {
self.$panel.options({collapsed: self.options.collapsed});
self.options.type == 'event' && self.$calendar.resizeCalendar()
self.options.type == 'map' && self.$map.resizeMap()
} else if (key == 'languages') {
updateAnnotations();
} else if (key == 'range') {