Un-break member hovering

kegan/timestamp-hover
David Baker 2015-10-13 15:17:20 +01:00
parent 7598be684c
commit 47c1bb35db
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ module.exports = React.createClass({
mixins: [MemberTileController],
shouldComponentUpdate: function(nextProps, nextState) {
if (this.state.hover !== nextState.hover) return true;
if (
this.member_last_modified_time === undefined ||
this.member_last_modified_time < nextProps.member.getLastModifiedTime()