diff --git a/lib/minimap-plugin-generator-element.js b/lib/minimap-plugin-generator-element.js index 75bca5d1..3f76109a 100644 --- a/lib/minimap-plugin-generator-element.js +++ b/lib/minimap-plugin-generator-element.js @@ -78,7 +78,7 @@ export default class MinimapPluginGeneratorElement { confirm () { if (this.validPackagePath()) { - this.removeChild(this.editorElement) + this.removeChild(this.modal) this.message.innerHTML = ` Generate plugin at ${this.getPackagePath()}