mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
bind ctx method
This commit is contained in:
parent
da33d74508
commit
0485458c27
@ -132,7 +132,7 @@ export default class ContextMenuCore extends Core {
|
||||
clickedComponent: component,
|
||||
items: items,
|
||||
ctx: {
|
||||
close: this.hide
|
||||
close: this.hide.bind(this),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user