diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-01-11 13:55:55 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-01-11 13:55:55 +0100 |
| commit | b3ba48a22ce966e62cfad1671e4ee6f4357bb69f (patch) | |
| tree | 4c670b51c4f43ebf6f857b5999c2bc0f3f0e807c /public/assets/js/lib/views/details/comments.js | |
| parent | 2e9e542bfb81c3aff407801e3ae3f08eee0fb3d9 (diff) | |
move file api, debug flag on url to show ids
Diffstat (limited to 'public/assets/js/lib/views/details/comments.js')
| -rw-r--r-- | public/assets/js/lib/views/details/comments.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public/assets/js/lib/views/details/comments.js b/public/assets/js/lib/views/details/comments.js index 8894676..967204e 100644 --- a/public/assets/js/lib/views/details/comments.js +++ b/public/assets/js/lib/views/details/comments.js @@ -39,6 +39,9 @@ var CommentsView = FormView.extend({ if (auth.user.username !== comment.username) { $t.find(".edit-links").remove() } + if (app.debug) { + $t.find('.date').prepend('#' + comment.id + ' ') + } return $t }, |
