diff --git a/web/src/components/PluginEditor.vue b/web/src/components/PluginEditor.vue
index b348dccee..fa7287156 100644
--- a/web/src/components/PluginEditor.vue
+++ b/web/src/components/PluginEditor.vue
@@ -4,7 +4,7 @@
play_arrow
- Run this plugin (Ctrl+R)
+ Run this plugin (Ctrl+E)
save
@@ -124,7 +124,7 @@ export default {
this.editor.addCommand( window.monaco.KeyMod.CtrlCmd | window.monaco.KeyCode.KEY_S, ()=>{
this.save()
});
- this.editor.addCommand( window.monaco.KeyMod.CtrlCmd | window.monaco.KeyCode.KEY_R, ()=>{
+ this.editor.addCommand( window.monaco.KeyMod.CtrlCmd | window.monaco.KeyCode.KEY_E, ()=>{
this.run()
});
},
@@ -171,7 +171,7 @@ export default {
}
if(this.window_plugin_id){
const node = document.getElementById('iframe_' + this.window_plugin_id)
- node.parentNode.removeChild(node);
+ if(node) node.parentNode.removeChild(node);
}
const w = await plugin.api.run({id: this.window_plugin_id, config: config, data: {}})
if(plugin.config && plugin.config.type === 'window'){