Skip to content

Commit e1fb828

Browse files
committed
Merge remote-tracking branch 'origin/gpinto_more_lookup_modifications' into gpinto_more_lookup_modifications
2 parents 356bc3d + 2229c41 commit e1fb828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/SLDSLookup/Menu/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Menu extends React.Component {
2222
// make an array of the children of the list
2323
// but only count the actual items (ignore errors/messages)
2424
let list = [].slice.call(React.findDOMNode(this.refs.list).children)
25-
.filter((child) => child.className === "slds-lookup__item").length;
25+
.filter((child) => child.className.indexOf("slds-lookup__item") > -1).length;
2626
this.props.getListLength(list);
2727
}
2828

0 commit comments

Comments
 (0)