mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-09-19 13:58:56 +00:00
Optimize latest posts page
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user