forked from 0x2620/oxjs
don't throw errors when resizing uninitialized map (fixes #480, interestingly)
This commit is contained in:
parent
8ab8d8d67a
commit
476f8b8d26
2 changed files with 19 additions and 15 deletions
|
|
@ -524,7 +524,8 @@ Ox.AnnotationFolder = function(options, self) {
|
|||
self.editing = false;
|
||||
}
|
||||
if (value && self.options.collapsed) {
|
||||
self.$panel.options({collapsed: false});
|
||||
//self.$panel.options({collapsed: false});
|
||||
toggleLayer();
|
||||
}
|
||||
self.$annotations.options({selected: value});
|
||||
} else if (key == 'sort') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue