mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-04 18:59:08 +01:00
Fix context menu click
This commit is contained in:
parent
3e3eaab8ea
commit
876c360922
@ -11,7 +11,7 @@ class ContextMenuModelType {
|
|||||||
getApi().onContextMenuClick(this.handleContextMenuClick.bind(this));
|
getApi().onContextMenuClick(this.handleContextMenuClick.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
handleContextMenuClick(e: any, id: string): void {
|
handleContextMenuClick(id: string): void {
|
||||||
let handler = this.handlers.get(id);
|
let handler = this.handlers.get(id);
|
||||||
if (handler) {
|
if (handler) {
|
||||||
handler();
|
handler();
|
||||||
|
Loading…
Reference in New Issue
Block a user