mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-25 21:39:21 +00:00
Optimize latest posts page
This commit is contained in:
parent
2c07e76684
commit
2e0b130ac5
@ -106,8 +106,9 @@ ComunicWeb.pages.latestPosts.main = {
|
||||
//Display the list of posts
|
||||
ComunicWeb.pages.latestPosts.main._display_list(response, target);
|
||||
|
||||
//Unlock posts loading
|
||||
ComunicWeb.pages.latestPosts.main._load_post_locked = false;
|
||||
//Unlock posts loading (if required)
|
||||
if(response.length != 0)
|
||||
ComunicWeb.pages.latestPosts.main._load_post_locked = false;
|
||||
});
|
||||
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user