Browse Source

Category: setParent(): if it is already open, force open of parent category

master
parent
commit
7631b966c5
  1. 4
      src/CategoryBase.js

4
src/CategoryBase.js

@ -66,6 +66,10 @@ CategoryBase.prototype.setMap = function (map) {
CategoryBase.prototype.setParent = function (parent) {
this.parentCategory = parent
if (this.isOpen) {
this.parentCategory.open()
}
}
CategoryBase.prototype.setParentDom = function (parentDom) {

Loading…
Cancel
Save