Merge pull request #19 from status-im/develop

Update fetch_blog_posts.js
This commit is contained in:
Bruno Škvorc 2018-10-24 15:11:11 +02:00 committed by GitHub
commit d3ce00e5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ $(document).ready(function () {
type: "get", type: "get",
url: url, url: url,
success: function (response) { success: function (response) {
response.posts = response.posts.reverse();
$.each(response.posts, function (index, val) { $.each(response.posts, function (index, val) {
var excerpt = ''; var excerpt = '';
if(val.custom_excerpt != null) { if(val.custom_excerpt != null) {