Skip to content

Commit

Permalink
Fixed ListBox selection when using multi
Browse files Browse the repository at this point in the history
An Array.map callback was missing a return statement.
  • Loading branch information
floriancargoet committed May 19, 2013
1 parent 29a5d4a commit 5c3fcbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/widgets.js
Expand Up @@ -757,6 +757,7 @@ exports.ListBox = function(items, options, cb, cbHover, cbSelect) {
val = val[0];
if (values)
val = values[x];
return val;
});
if (!selection.length)
selection = undefined;
Expand Down

0 comments on commit 5c3fcbf

Please sign in to comment.