Fix server vote on client

This commit is contained in:
Chris Blanchard 2015-12-25 08:03:06 +00:00
parent ae5b566eef
commit 07e127eef1

View file

@ -509,7 +509,7 @@ var ServerVoting = React.createClass({
return (
<a href="#"
className={style}
onClick={ e => e.preventDefault() }
onClick={self.voteHandler(server.id)}
key={server.id}>
<span className="badge">{votes}</span>
{server.name || server.description}