diff --git a/src/style_manager/index.js b/src/style_manager/index.js index 0308d39ff..2855589f2 100644 --- a/src/style_manager/index.js +++ b/src/style_manager/index.js @@ -641,7 +641,6 @@ export default () => { __upProps(opts) { const lastTarget = this.getSelected(); - // if (!lastTarget || !this.getConfig().custom) return; if (!lastTarget) return; const lastTargetParents = this.getSelectedParents(); diff --git a/src/style_manager/view/SectorsView.js b/src/style_manager/view/SectorsView.js index 64ceb3448..ba3f74bc3 100644 --- a/src/style_manager/view/SectorsView.js +++ b/src/style_manager/view/SectorsView.js @@ -19,23 +19,10 @@ export default class SectorsView extends View { ['config', 'module', 'em'].forEach(i => (this[i] = {})); } - /** - * Add to collection - * @param {Object} model Model - * @return {Object} - * @private - * */ addTo(model, c, opts = {}) { this.addToCollection(model, null, opts); } - /** - * Add new object to collection - * @param {Object} model Model - * @param {Object} fragmentEl collection - * @return {Object} Object created - * @private - * */ addToCollection(model, fragmentEl, opts = {}) { const { config, el } = this; const appendTo = fragmentEl || el;