update collapsed state if options.collapsed is changed
This commit is contained in:
parent
f81a07fc37
commit
69cd6ceed8
1 changed files with 4 additions and 0 deletions
|
@ -78,6 +78,10 @@ Ox.AnnotationFolder = function(options, self) {
|
||||||
crossesPoint() && updateAnnotations();
|
crossesPoint() && updateAnnotations();
|
||||||
self.position = self.options.position;
|
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') {
|
} else if (key == 'languages') {
|
||||||
updateAnnotations();
|
updateAnnotations();
|
||||||
} else if (key == 'range') {
|
} else if (key == 'range') {
|
||||||
|
|
Loading…
Reference in a new issue