diff --git a/modules/graphical_menu.js b/modules/graphical_menu.js index fbfdd717..b4c61585 100644 --- a/modules/graphical_menu.js +++ b/modules/graphical_menu.js @@ -77,7 +77,7 @@ exports.list = function(g, items) { }, select : function() { var item = items[menuItems[options.selected]]; - if ("function" == typeof item) item(l); + if ("function" == typeof item) item(); else if ("object" == typeof item) { // if a number, go into 'edit mode' if ("number" == typeof item.value)