summaryrefslogtreecommitdiffstats
path: root/webapp/components/suggestion/suggestion_list.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-07-15 07:49:57 -0400
committerGitHub <noreply@github.com>2016-07-15 07:49:57 -0400
commitb5c5744bc79d99e75629085ccafedd8f50c41916 (patch)
treee8ad0b18295445e52c255375dab6c6e390d276a1 /webapp/components/suggestion/suggestion_list.jsx
parent491593b285cb92a3896fbd8203d8461be615880e (diff)
downloadchat-b5c5744bc79d99e75629085ccafedd8f50c41916.tar.gz
chat-b5c5744bc79d99e75629085ccafedd8f50c41916.tar.bz2
chat-b5c5744bc79d99e75629085ccafedd8f50c41916.zip
Updating ESLint (#3597)
Diffstat (limited to 'webapp/components/suggestion/suggestion_list.jsx')
-rw-r--r--webapp/components/suggestion/suggestion_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/suggestion/suggestion_list.jsx b/webapp/components/suggestion/suggestion_list.jsx
index f1cccf8aa..52b85b2f5 100644
--- a/webapp/components/suggestion/suggestion_list.jsx
+++ b/webapp/components/suggestion/suggestion_list.jsx
@@ -87,7 +87,7 @@ export default class SuggestionList extends React.Component {
content.scrollTop(itemTop - contentTopPadding);
} else if (itemBottom + contentTopPadding + contentBottomPadding > contentTop + visibleContentHeight) {
// the item has gone off the bottom of the visible space
- content.scrollTop(itemBottom - visibleContentHeight + contentTopPadding + contentBottomPadding);
+ content.scrollTop((itemBottom - visibleContentHeight) + contentTopPadding + contentBottomPadding);
}
}
}