bugfix
This commit is contained in:
parent
a3a3bc5ffc
commit
a274607ee8
@ -63,7 +63,7 @@ bricks.Menu = class extends bricks.VBox {
|
|||||||
this.create_children(w1, item.items);
|
this.create_children(w1, item.items);
|
||||||
subw.bind('click', w1.toggle_hide.bind(w1));
|
subw.bind('click', w1.toggle_hide.bind(w1));
|
||||||
} else {
|
} else {
|
||||||
subw.bind('click', this.menu_clicked.bind(this))
|
subw.bind('click', this.menu_clicked.bind(this, item))
|
||||||
w.add_widget(subw);
|
w.add_widget(subw);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user