Optimize latest posts page

This commit is contained in:
Pierre 2018-05-26 16:19:24 +02:00
parent 2c07e76684
commit 2e0b130ac5

View File

@ -106,7 +106,8 @@ ComunicWeb.pages.latestPosts.main = {
//Display the list of posts
ComunicWeb.pages.latestPosts.main._display_list(response, target);
//Unlock posts loading
//Unlock posts loading (if required)
if(response.length != 0)
ComunicWeb.pages.latestPosts.main._load_post_locked = false;
});