diff options
Diffstat (limited to 'public/assets/js')
| -rw-r--r-- | public/assets/js/lib/views/index/threadbox.js | 4 |
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) => { |
