remove href

This commit is contained in:
Luke Barnard 2016-11-10 15:20:53 +00:00
parent d8bc4d9a6f
commit 1a4df38500

View file

@ -184,7 +184,7 @@ module.exports = React.createClass({
if (!fewEvents) {
summary = this._renderSummary(joinEvents, leaveEvents);
toggleButton = (
<a onClick={this._toggleSummary} href="javascript:;">{expanded?'collapse':'expand'}</a>
<a onClick={this._toggleSummary}>{expanded?'collapse':'expand'}</a>
);
let noun = (joinAndLeft === 1 ? 'user' : 'others');