diff --git a/notebook/static/notebook/js/menubar.js b/notebook/static/notebook/js/menubar.js index 6265a9d12..987229b2b 100644 --- a/notebook/static/notebook/js/menubar.js +++ b/notebook/static/notebook/js/menubar.js @@ -226,6 +226,9 @@ define([ }; for(var idx in id_actions_dict){ + if (!id_actions_dict.hasOwnProperty(idx)){ + continue; + } var id_act = id_actions_dict[idx]; if(!that.actions.exists(id_act)){ console.warn('actions', id_act, 'does not exist, still binding it in case it will be defined later...' )