show user id in popover
parent
40834d8277
commit
b5d42463d7
|
@ -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) {
|
||||
|
|
|
@ -7,8 +7,9 @@
|
|||
<img class="pop-hat profile-pic-75-hat hat" loading="lazy">
|
||||
</div>
|
||||
<div class="px-3 text-truncate">
|
||||
<h5 class="pop-username text-truncate text-black mb-1 pb-1"></h5>
|
||||
<h5 class="pop-username text-truncate text-black mb-0 pb-1 mt-4 pt-2"></h5>
|
||||
<span class="text-black">Joined <span class="pop-created-date"></span></span>
|
||||
<div class="text-black">User ID: <span class="pop-id"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue