From 59358b46927b66a92c10680e3c4c41e3edf162f2 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 28 Aug 2024 18:14:11 +0800 Subject: [PATCH] bugfix --- bricks/menu.js | 1 - 1 file changed, 1 deletion(-) diff --git a/bricks/menu.js b/bricks/menu.js index 086c142..d87febe 100755 --- a/bricks/menu.js +++ b/bricks/menu.js @@ -12,7 +12,6 @@ bricks.Menu = class extends bricks.VBox { this.dom_element.style.display = ""; this.dom_element.style.backgroundColor = options.bgcolor || "white"; this.create_children(this, this.opts.items); - this.bind('item_click', this.menu_clicked.bind(this)); } create_submenu_container(){ let cp = new bricks.VBox({});