From 0e827ba10d9bcef168623ff25c359e573e768e1b Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 3 Feb 2018 18:00:32 +0100 Subject: [PATCH] Reduced condition. --- assets/js/pages/userPage/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/pages/userPage/posts.js b/assets/js/pages/userPage/posts.js index 1073c05c..a2d64e9e 100644 --- a/assets/js/pages/userPage/posts.js +++ b/assets/js/pages/userPage/posts.js @@ -136,7 +136,7 @@ ComunicWeb.pages.userPage.posts = { } //Check if there is not any posts - if(posts.length == 0 && this._last_post_id == 0){ + if(this._last_post_id == 0){ this._no_posts_msg(target); }