diff options
author | nickago <ngonella@calpoly.edu> | 2015-06-29 15:27:53 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-06-29 15:27:53 -0700 |
commit | e41e7a27cfe14d6c17a10d4037a11c430cc86e39 (patch) | |
tree | 6452c27b6f3cf9130da849c7e92074f2cb6255bf /web/react | |
parent | 9afbc9c206d12b2d38cf853f37f4ba678bbd1d90 (diff) | |
download | chat-e41e7a27cfe14d6c17a10d4037a11c430cc86e39.tar.gz chat-e41e7a27cfe14d6c17a10d4037a11c430cc86e39.tar.bz2 chat-e41e7a27cfe14d6c17a10d4037a11c430cc86e39.zip |
Added semicolons
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/channel_header.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx index f4e4078a5..39e3e767a 100644 --- a/web/react/components/channel_header.jsx +++ b/web/react/components/channel_header.jsx @@ -44,10 +44,10 @@ var ExtraMembers = React.createClass({ var count = this.props.members.length == 0 ? "-" : this.props.members.length; count = this.props.members.length > 19 ? "20+" : count; var data_content = ""; - var sortedMembers = this.state.extra_info.members + var sortedMembers = this.state.extra_info.members; sortedMembers.sort(function(a,b) { - return a.username.localeCompare(b.username) + return a.username.localeCompare(b.username); }) sortedMembers.forEach(function(m) { |