fix feed panel display on mobile

This commit is contained in:
2019-03-11 13:18:15 +01:00
parent 5bb13e54bd
commit 048bb6497f
5 changed files with 35 additions and 6 deletions

View File

@@ -387,12 +387,10 @@ function updateFeed(bFirstChunk, bDiscrete)
if(bFirstChunk===true) {
self.tmp('news_chunk', 0);
if(!bDiscrete) $('#projects').removeClass('with-feed');
}
self.get('feed', function(asData) {
$('#loading').hide();
if(!bDiscrete) $('#projects').addClass('with-feed');
$.each(asData, function(iKey, asPost){
$Posts.append(getPost(asPost));