remove onclick

Onclick will not work under its scope; it needs to access the created popup to show it.
This commit is contained in:
buzz-lightsnack-2007 2024-04-28 16:59:44 +08:00
parent 809aa1c2d7
commit b85be98f1f

View file

@ -21,11 +21,4 @@ export default class MenuEntry {
disable () {
this.menu.remove();
}
/*
The onclick event
*/
onclick() {
this.menu.trigger();
};
}