diff --git a/src/commands/view/CommandAbstract.js b/src/commands/view/CommandAbstract.js index ede7c1d5c..fb5284353 100644 --- a/src/commands/view/CommandAbstract.js +++ b/src/commands/view/CommandAbstract.js @@ -18,16 +18,6 @@ export default Backbone.View.extend({ this.freezClass = this.ppfx + 'freezed'; this.canvas = this.em.get && this.em.get('Canvas'); - - if (this.em.get) this.setElement(this.getCanvas()); - - if (this.canvas) { - this.$canvas = this.$el; - // this.frameEl = this.canvas.getFrameEl(); - this.canvasTool = this.getCanvasTools(); - // this.bodyEl = this.getCanvasBody(); - } - this.init(this.config); },