Этот коммит содержится в:
Reed Garmsen
2015-07-16 09:27:18 -07:00
родитель cb4cd741a4
Коммит 1f87c46360

Просмотреть файл

@@ -129,7 +129,7 @@ module.exports = React.createClass({
if (direction === "up" && ifLoopUp !== -1)
scrollAmount = $("#mentionsbox").height() * 100; //Makes sure that it scrolls all the way to the bottom
else if (direction === "down" && this.refs['mention' + this.state.selectedMention].props.listId === 0)
else if (direction === "down" && this.state.selectedMention === 0)
scrollAmount = 0;
else if (direction === "up")
scrollAmount = "-=" + ($('#'+this.refs['mention' + this.state.selectedMention].props.id +"_mentions").innerHeight() - 5);