Skip to content

Commit

Permalink
Item menu separators
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Jan 15, 2025
1 parent e427883 commit 0b7ac0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/libs/needcontext.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ NeedContext.select_action = async (e, index = NeedContext.index, mode = `mouse`)
}

function do_items(items) {
if (items.length === 1 && items[0].direct) {
if ((items.length === 1) && items[0].direct) {
NeedContext.action(items[0], e)
}
else {
Expand Down

0 comments on commit 0b7ac0f

Please sign in to comment.