diff --git a/.gitignore b/.gitignore index 491fc35975..6c4bdb9472 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules lib +/nbproject/private/ \ No newline at end of file diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index ebbebca2f0..3af4cdc44f 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -262,7 +262,7 @@ module.exports = React.createClass({ // For now we'll pretend this is any entity. It should probably be a separate tile. var EntityTile = sdk.getComponent("rooms.EntityTile"); var BaseAvatar = sdk.getComponent('avatars.BaseAvatar'); - var text = "and " + overflowCount + " other" + (overflowCount > 1 : "s" : "") + "..."; + var text = "and " + overflowCount + " other" + (overflowCount > 1 ? "s" : "") + "..."; return (