From 7f849176752987c59f8d2c95a63d2b4cc035e657 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Mon, 3 Aug 2015 19:09:08 -0700 Subject: [PATCH] fix(lint): Address linter errors --- .../message-list/lib/message-list.cjsx | 2 - .../thread-list/lib/thread-list.cjsx | 46 +++++++++---------- 2 files changed, 23 insertions(+), 25 deletions(-) diff --git a/internal_packages/message-list/lib/message-list.cjsx b/internal_packages/message-list/lib/message-list.cjsx index 4239394d5..3b7b40115 100755 --- a/internal_packages/message-list/lib/message-list.cjsx +++ b/internal_packages/message-list/lib/message-list.cjsx @@ -137,8 +137,6 @@ class MessageList extends React.Component @_draftScrollInProgress = true draftElement.focus() @refs.messageWrap.scrollTo(draftElement, { - position: ScrollRegion.ScrollPosition.Bottom, - settle: true position: ScrollRegion.ScrollPosition.Top, settle: true, done: => diff --git a/internal_packages/thread-list/lib/thread-list.cjsx b/internal_packages/thread-list/lib/thread-list.cjsx index 9b22291e8..73fab6bfc 100644 --- a/internal_packages/thread-list/lib/thread-list.cjsx +++ b/internal_packages/thread-list/lib/thread-list.cjsx @@ -169,30 +169,30 @@ class ThreadList extends React.Component render: => if @state.style is 'wide' - + else if @state.style is 'narrow' - + else