From b5d42463d76f3d2884f986bc9bbac67f93a17524 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 11 Mar 2023 12:24:17 +0200 Subject: [PATCH] show user id in popover --- files/assets/js/comments+submission_listing.js | 1 + files/templates/popover.html | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/files/assets/js/comments+submission_listing.js b/files/assets/js/comments+submission_listing.js index 537af66f6..cd14c95dd 100644 --- a/files/assets/js/comments+submission_listing.js +++ b/files/assets/js/comments+submission_listing.js @@ -45,6 +45,7 @@ document.addEventListener('shown.bs.popover', (e) => { popover.getElementsByClassName('pop-coins')[0].innerHTML = author["coins"] popover.getElementsByClassName('pop-view_more')[0].href = author["url"] popover.getElementsByClassName('pop-created-date')[0].innerHTML = author["created_date"] + popover.getElementsByClassName('pop-id')[0].innerHTML = author["id"] }) function post(url) { diff --git a/files/templates/popover.html b/files/templates/popover.html index 24d592980..675f45ab6 100644 --- a/files/templates/popover.html +++ b/files/templates/popover.html @@ -7,8 +7,9 @@
-
+
Joined +
User ID: