Confirmedusers, editor, Administrators
886
edits
CreativeMD (talk | contribs) No edit summary |
CreativeMD (talk | contribs) No edit summary |
||
Line 175: | Line 175: | ||
this.el.show(); | this.el.show(); | ||
} | } | ||
children.forEach(function (child) { | this.children.forEach(function (child) { | ||
child.parentOpened(); | child.parentOpened(); | ||
}); | }); | ||
Line 181: | Line 181: | ||
parentClosed: function() { | parentClosed: function() { | ||
this.el.hide(); | this.el.hide(); | ||
children.forEach(function (child) { | this.children.forEach(function (child) { | ||
child.parentClosed(); | child.parentClosed(); | ||
}); | }); | ||
Line 188: | Line 188: | ||
this.opened = true; | this.opened = true; | ||
this.el.show(); | this.el.show(); | ||
children.forEach(function (child) { | this.children.forEach(function (child) { | ||
child.parentOpened(); | child.parentOpened(); | ||
}); | }); | ||
Line 195: | Line 195: | ||
this.opened = true; | this.opened = true; | ||
this.el.show(); | this.el.show(); | ||
children.forEach(function (child) { | this.children.forEach(function (child) { | ||
child.parentOpened(); | child.parentOpened(); | ||
}); | }); | ||
Line 206: | Line 206: | ||
this.opened = false; | this.opened = false; | ||
this.el.hide(); | this.el.hide(); | ||
children.forEach(function (child) { | this.children.forEach(function (child) { | ||
child.parentClosed(); | child.parentClosed(); | ||
}); | }); |