diff --git a/apps/common/main/lib/component/Menu.js b/apps/common/main/lib/component/Menu.js index 61bd4b5a4..6afaf8581 100644 --- a/apps/common/main/lib/component/Menu.js +++ b/apps/common/main/lib/component/Menu.js @@ -125,7 +125,7 @@ define([ if (active && active.length > 0) { _.each(active, function(menu) { - menu.hide(); + if (menu) menu.hide(); }); return true; }