From a9c9d59133ed3466740266a13d505cdcc578b853 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 17 Mar 2018 18:45:59 +0100 Subject: fewer in most recent --- public/assets/js/lib/views/index/threadbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/assets/js') diff --git a/public/assets/js/lib/views/index/threadbox.js b/public/assets/js/lib/views/index/threadbox.js index 157b672..c6acc21 100644 --- a/public/assets/js/lib/views/index/threadbox.js +++ b/public/assets/js/lib/views/index/threadbox.js @@ -28,9 +28,9 @@ var ThreadBox = View.extend({ if (this.options.latest) { var latest = data.threads.sort( (a,b) => { return b.lastmodified - a.lastmodified - }).slice(0, 15) + }).slice(0, 7) this.appendThreads(latest) - data.threads = data.threads.slice(15).filter((thread) => thread && !! thread.keyword) + data.threads = data.threads.filter((thread) => thread && !! thread.keyword) } var keywords = {} data.threads.forEach((thread) => { -- cgit v1.2.3-70-g09d2