diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-16 08:16:40 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-16 08:16:40 -0400 |
commit | 099d8538770271bfc41416b871a899362bf9a086 (patch) | |
tree | 103ecc42fe274694d387a4e5969f860767594139 /web/react/components | |
parent | 269476d694f425764dbe0cccd4eaa3f23956ba61 (diff) | |
parent | 327b0b5a2119ae888c812f682b3934061b8f59bf (diff) | |
download | chat-099d8538770271bfc41416b871a899362bf9a086.tar.gz chat-099d8538770271bfc41416b871a899362bf9a086.tar.bz2 chat-099d8538770271bfc41416b871a899362bf9a086.zip |
Merge pull request #1079 from hmhealey/initprefs
Added an initial call to get all user preferences on page load
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/sidebar.jsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index 7a209de2b..89506c028 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -132,11 +132,7 @@ export default class Sidebar extends React.Component { SocketStore.addChangeListener(this.onSocketChange); PreferenceStore.addChangeListener(this.onChange); - AsyncClient.getDirectChannelPreferences(); - - if ($(window).width() > 768) { - $('.nav-pills__container').perfectScrollbar(); - } + $('.nav-pills__container').perfectScrollbar(); this.updateTitle(); this.updateUnreadIndicators(); |