mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +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,
|
clickedComponent: component,
|
||||||
items: items,
|
items: items,
|
||||||
ctx: {
|
ctx: {
|
||||||
close: this.hide
|
close: this.hide.bind(this),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user