From b3ba48a22ce966e62cfad1671e4ee6f4357bb69f Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 11 Jan 2018 13:55:55 +0100 Subject: move file api, debug flag on url to show ids --- public/assets/js/lib/views/details/comments.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/assets/js/lib/views/details/comments.js') 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 }, -- cgit v1.2.3-70-g09d2