forked from 0x2620/oxjs
Ox.break -> Ox.Break
This commit is contained in:
parent
b7d9d9ba54
commit
544e117cb3
41 changed files with 100 additions and 100 deletions
|
|
@ -175,7 +175,7 @@ Ox.MainMenu = function(options, self) {
|
|||
if (ids.length == 1) {
|
||||
Ox.forEach(that.menus, function(menu) {
|
||||
item = menu.getItem(id);
|
||||
item && Ox.break();
|
||||
item && Ox.Break()();
|
||||
});
|
||||
} else {
|
||||
item = that.getMenu(ids.shift()).getItem(ids.join('_'));
|
||||
|
|
@ -194,7 +194,7 @@ Ox.MainMenu = function(options, self) {
|
|||
Ox.forEach(that.menus, function(v) {
|
||||
if (v.options('id') == id) {
|
||||
menu = v;
|
||||
Ox.break();
|
||||
Ox.Break()();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue