diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-31 11:19:38 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-31 11:28:28 -0400 |
commit | b382844b7982c701fe90d431a6f38502df75b843 (patch) | |
tree | 27431982c5c4435d7af6cad390ec91acaed40273 /webapp | |
parent | 5feda3559106e9d1f156fe25761c1a8c7c21db26 (diff) | |
download | chat-b382844b7982c701fe90d431a6f38502df75b843.tar.gz chat-b382844b7982c701fe90d431a6f38502df75b843.tar.bz2 chat-b382844b7982c701fe90d431a6f38502df75b843.zip |
Fixing sidebar jump warning
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/search_results_item.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webapp/components/search_results_item.jsx b/webapp/components/search_results_item.jsx index 219aa7093..75cbcb2a0 100644 --- a/webapp/components/search_results_item.jsx +++ b/webapp/components/search_results_item.jsx @@ -5,7 +5,6 @@ import UserStore from 'stores/user_store.jsx'; import UserProfile from './user_profile.jsx'; import * as GlobalActions from 'action_creators/global_actions.jsx'; import * as TextFormatting from 'utils/text_formatting.jsx'; -import * as Utils from 'utils/utils.jsx'; import Constants from 'utils/constants.jsx'; @@ -88,7 +87,7 @@ export default class SearchResultsItem extends React.Component { </li> <li> <Link - to={Utils.getTeamURLFromAddressBar() + '/pl/' + this.props.post.id} + to={'/' + window.location.pathname.split('/')[1] + '/pl/' + this.props.post.id} className='search-item__jump' > <FormattedMessage |