diff --git a/source/UI/js/Video/AnnotationFolder.js b/source/UI/js/Video/AnnotationFolder.js index a6fab5d2..05f542f8 100644 --- a/source/UI/js/Video/AnnotationFolder.js +++ b/source/UI/js/Video/AnnotationFolder.js @@ -79,7 +79,8 @@ Ox.AnnotationFolder = function(options, self) { self.position = self.options.position; } } 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 == 'map' && self.$map.resizeMap() } else if (key == 'languages') {