Merge pull request #276 from mattermost/mm-1688

MM-1688 reset number of posts to fetch on channel switch and fresh page load
Этот коммит содержится в:
Corey Hulen
2015-08-02 08:59:07 -08:00
родитель 41f96636d6 0c627913f7
Коммит 1f417368ad
4 изменённых файлов: 13 добавлений и 5 удалений

Просмотреть файл

@@ -750,7 +750,7 @@ module.exports.switchChannel = function(channel, teammate_name) {
AsyncClient.getChannels(true, true, true);
AsyncClient.getChannelExtraInfo(true);
AsyncClient.getPosts(true, channel.id);
AsyncClient.getPosts(true, channel.id, Constants.POST_CHUNK_SIZE);
$('.inner__wrap').removeClass('move--right');
$('.sidebar--left').removeClass('move--right');