reset number of posts to fetch on channel switch and fresh page load

Этот коммит содержится в:
JoramWilander
2015-07-29 11:30:54 -04:00
родитель 54265271fa
Коммит 7bc5f4e863
4 изменённых файлов: 10 добавлений и 5 удалений

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

@@ -720,7 +720,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');