diff options
Diffstat (limited to 'public/assets/js/lib/views/profile/profile.js')
| -rw-r--r-- | public/assets/js/lib/views/profile/profile.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/public/assets/js/lib/views/profile/profile.js b/public/assets/js/lib/views/profile/profile.js index 4396414..14511f9 100644 --- a/public/assets/js/lib/views/profile/profile.js +++ b/public/assets/js/lib/views/profile/profile.js @@ -24,9 +24,10 @@ var ProfileView = View.extend({ this.populate(user) // this.populateComments(topComments) // this.comments.load(data.comments, data.thread) - this.gallery.load(data.files) - this.files.load(data.files) - this.threadbox.load({ threads: data.threads }) + this.gallery.load(files) + this.files.load(files) + this.files.sortByDate().reverse() + this.threadbox.load({ threads, user }) }, populate: function(user){ |
