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