summaryrefslogtreecommitdiff
path: root/public/assets/js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-03-17 18:45:59 +0100
committerJules Laplace <julescarbon@gmail.com>2018-03-17 18:45:59 +0100
commita9c9d59133ed3466740266a13d505cdcc578b853 (patch)
treea463955edad0785ef5d326145a8f8d196f938685 /public/assets/js
parent555fb6c8d95caa4349922c23818fc9e115226057 (diff)
fewer in most recent
Diffstat (limited to 'public/assets/js')
-rw-r--r--public/assets/js/lib/views/index/threadbox.js4
1 files changed, 2 insertions, 2 deletions
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) => {