fix feed panel display on mobile
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user