fix closing tab by mouse

This commit is contained in:
zadam
2020-05-06 21:24:51 +02:00
parent 8aa5608085
commit 62b993f06f
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ class AppContext extends Component {
const $component = $(this).closest(".component");
const component = $component.prop("component");
component.triggerCommand(commandName);
component.triggerCommand(commandName, {$el: $(this)});
});
this.tabManager = new TabManager();