mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
fix closing tab by mouse
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
"electron-rebuild": "1.10.1",
|
"electron-rebuild": "1.10.1",
|
||||||
"jsdoc": "3.6.4",
|
"jsdoc": "3.6.4",
|
||||||
"lorem-ipsum": "2.0.3",
|
"lorem-ipsum": "2.0.3",
|
||||||
"webpack": "5.0.0-beta.15",
|
"webpack": "5.0.0-beta.16",
|
||||||
"webpack-cli": "4.0.0-beta.8"
|
"webpack-cli": "4.0.0-beta.8"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class AppContext extends Component {
|
|||||||
const $component = $(this).closest(".component");
|
const $component = $(this).closest(".component");
|
||||||
const component = $component.prop("component");
|
const component = $component.prop("component");
|
||||||
|
|
||||||
component.triggerCommand(commandName);
|
component.triggerCommand(commandName, {$el: $(this)});
|
||||||
});
|
});
|
||||||
|
|
||||||
this.tabManager = new TabManager();
|
this.tabManager = new TabManager();
|
||||||
|
|||||||
Reference in New Issue
Block a user