diff --git a/lib/minimap-plugin-generator-view.coffee b/lib/minimap-plugin-generator-view.coffee index 6ab73360..64b48f11 100644 --- a/lib/minimap-plugin-generator-view.coffee +++ b/lib/minimap-plugin-generator-view.coffee @@ -23,7 +23,7 @@ class MinimapPluginGeneratorView extends View attach: (@mode) -> @previouslyFocusedElement = $(':focus') @message.text("Enter #{mode} path") - atom.workspaceView.append(this) + atom.views.getView(atom.workspace).appendChild(@element) @setPathText("my-minimap-plugin") @miniEditor.focus()