From 80a9364be686e711bfa8e2fe1f6dc5470b68c15c Mon Sep 17 00:00:00 2001 From: Franzz Date: Thu, 28 Nov 2019 10:20:13 +0100 Subject: [PATCH] Fix no post detection --- masks/project.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 masks/project.html diff --git a/masks/project.html b/masks/project.html old mode 100755 new mode 100644 index 00de190..89a808f --- a/masks/project.html +++ b/masks/project.html @@ -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')