diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/css/bucky.css | 3 | ||||
| -rw-r--r-- | public/assets/js/lib/views/index/threadbox.js | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/public/assets/css/bucky.css b/public/assets/css/bucky.css index 67521f7..5dc41cf 100644 --- a/public/assets/css/bucky.css +++ b/public/assets/css/bucky.css @@ -1,3 +1,6 @@ +html { + padding-bottom: 300px; +} body { background-color: #e6f0f0; color: #111111; diff --git a/public/assets/js/lib/views/index/threadbox.js b/public/assets/js/lib/views/index/threadbox.js index defeaff..3137c7c 100644 --- a/public/assets/js/lib/views/index/threadbox.js +++ b/public/assets/js/lib/views/index/threadbox.js @@ -22,9 +22,8 @@ var ThreadBox = View.extend({ }, parse: function(thread){ - console.log(thread) var views = hush_views(thread.viewed) - var size = thread.file_count == 0 ? ["hidden", 0] : hush_size(thread.size) + var size = hush_size(thread.size) var comments = hush_null(thread.comment_count, "c") var files = hush_null(thread.file_count, "f") var dot = privacy_dot(thread.private) @@ -43,6 +42,7 @@ var ThreadBox = View.extend({ .replace(/{{views_class}}/g, views[0]) .replace(/{{comments_class}}/g, comments[0]) .replace(/{{files_class}}/g, files[0]) + .replace(/{{show_files}}/g, thread.file_count == 0 ? "hidden" : "") .replace(/{{size_class}}/g, size[0] ) return t }, |
