summaryrefslogtreecommitdiff
path: root/public/assets/js/lib
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-07 08:10:08 -0400
committerJules Laplace <jules@okfoc.us>2015-09-07 08:10:08 -0400
commita0143db4b36804af71da7820ac6d70c48e635339 (patch)
tree29a0c18bc0c9b07ffd5f43e3bbe99db356f71ed0 /public/assets/js/lib
parent5f8dcf6f299b37f2c46fdbd9b047017fb7dea8fd (diff)
mobile css breakpoint
Diffstat (limited to 'public/assets/js/lib')
-rw-r--r--public/assets/js/lib/views/index/threadbox.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/index/threadbox.js b/public/assets/js/lib/views/index/threadbox.js
index 9f12411..d9999a5 100644
--- a/public/assets/js/lib/views/index/threadbox.js
+++ b/public/assets/js/lib/views/index/threadbox.js
@@ -28,9 +28,11 @@ var ThreadBox = View.extend({
var files = hush_null(thread.file_count, "f")
var dot = privacy_dot(thread.private)
var datetime = verbose_date(thread.lastmodified)
+ var age = get_age(thread.lastmodified)
+ var id = thread.id + get_revision(thread)
var t = this.template
- .replace(/{{id}}/g, thread.id)
+ .replace(/{{id}}/g, id)
.replace(/{{username}}/g, thread.username)
.replace(/{{privacy_dot}}/g, dot)
.replace(/{{title}}/g, thread.title)