Skip to content

Commit

Permalink
update menu after espruino/Espruino#2569
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 11, 2024
1 parent 102eb00 commit 9c3170b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/graphical_menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9c3170b

Please sign in to comment.