summaryrefslogtreecommitdiffstats
path: root/web/react/components/mention.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-14 16:13:31 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-16 08:10:19 -0700
commit61e7b9b2be969212dbb3577ef734a27620a525be (patch)
treec1453b77769096b9e9c717748cbb35902cea851f /web/react/components/mention.jsx
parent4bb2451bd5ac7f570e510a0cb96c14f0b17e4fab (diff)
downloadchat-61e7b9b2be969212dbb3577ef734a27620a525be.tar.gz
chat-61e7b9b2be969212dbb3577ef734a27620a525be.tar.bz2
chat-61e7b9b2be969212dbb3577ef734a27620a525be.zip
Getting scrolling working with the arrow keys
Diffstat (limited to 'web/react/components/mention.jsx')
-rw-r--r--web/react/components/mention.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/mention.jsx b/web/react/components/mention.jsx
index 1f6d1bcf1..3f6ec4a7b 100644
--- a/web/react/components/mention.jsx
+++ b/web/react/components/mention.jsx
@@ -30,7 +30,7 @@ module.exports = React.createClass({
icon = <span><i className="mention-img fa fa-users fa-2x"></i></span>;
}
return (
- <div className={"mentions-name " + this.state.isFocused} onClick={this.handleClick} onMouseEnter={function(){self.props.handleMouseEnter(self.props.listId)}}>
+ <div className={"mentions-name " + this.state.isFocused} id={this.props.id + "_mentions"} onClick={this.handleClick} onMouseEnter={function(){self.props.handleMouseEnter(self.props.listId)}}>
<div className="pull-left">{icon}</div>
<div className="pull-left mention-align"><span>@{this.props.username}</span><span className="mention-fullname">{this.props.secondary_text}</span></div>
</div>