Fix no post detection
This commit is contained in:
Executable → Regular
+1
-1
@@ -445,7 +445,7 @@ function updateFeed(bFirstChunk, bDiscrete) {
|
||||
|
||||
self.tmp('updatable', true);
|
||||
|
||||
if(bFirstChunk && !asData.length) toggleFeedPanel(false);
|
||||
if(bFirstChunk && $.isEmptyObject(asData)) toggleFeedPanel(false);
|
||||
}, {
|
||||
'project_id': self.vars(['project', 'id']),
|
||||
'chunk': self.tmp('news_chunk')
|
||||
|
||||
Reference in New Issue
Block a user