diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-07 13:10:11 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-07 13:10:11 -0700 |
commit | 91511281c55ac9b7d3d8ce21d409905c2aec1955 (patch) | |
tree | eadf0141fa525d71234a94ae445cc2cf619c3437 /web/react/stores | |
parent | 2be660f05dc895cb0378b06891a7e775fe4a44d9 (diff) | |
download | chat-91511281c55ac9b7d3d8ce21d409905c2aec1955.tar.gz chat-91511281c55ac9b7d3d8ce21d409905c2aec1955.tar.bz2 chat-91511281c55ac9b7d3d8ce21d409905c2aec1955.zip |
Changed loading logic for retrieving more channels to allow for loading animation to be inserted into the More... menu that allows you to join more channels while waiting for the list of channels to load
Diffstat (limited to 'web/react/stores')
-rw-r--r-- | web/react/stores/channel_store.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/stores/channel_store.jsx b/web/react/stores/channel_store.jsx index 3f259bc7d..387d52628 100644 --- a/web/react/stores/channel_store.jsx +++ b/web/react/stores/channel_store.jsx @@ -192,7 +192,7 @@ var ChannelStore = assign({}, EventEmitter.prototype, { sessionStorage.setItem("more_channels", JSON.stringify(channels)); }, _getMoreChannels: function() { - var channels = []; + var channels; try { channels = JSON.parse(sessionStorage.more_channels); } |