Browse Source

CategoryIndex: always load child categories

master
parent
commit
69e54b6c95
  1. 8
      src/CategoryIndex.js

8
src/CategoryIndex.js

@ -9,6 +9,10 @@ function CategoryIndex (id, data) {
this.childrenDoms = {}
this.childrenCategories = null
this._loadChildrenCategories(function (err) {
})
}
CategoryIndex.prototype.open = function () {
@ -21,10 +25,6 @@ CategoryIndex.prototype.open = function () {
this.isOpen = true
return
}
this._loadChildrenCategories(function (err) {
console.log(err)
})
}
CategoryIndex.prototype.recalc = function () {

Loading…
Cancel
Save