From 38426bb7f4a84824fae4c03660c8a47117ff3ded Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 28 Jun 2023 00:13:04 +0300 Subject: [PATCH] fix hecking buggerino --- files/assets/js/comments+post_listing.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/files/assets/js/comments+post_listing.js b/files/assets/js/comments+post_listing.js index 90d49f69b..20055c302 100644 --- a/files/assets/js/comments+post_listing.js +++ b/files/assets/js/comments+post_listing.js @@ -122,6 +122,9 @@ document.addEventListener("click", function() { if (author["original_usernames"]) { popover.getElementsByClassName('pop-original-usernames')[0].innerHTML = author["original_usernames"] } + else { + popover.getElementsByClassName('pop-original-usernames')[0].innerHTML = '' + } pop_instance = bootstrap.Popover.getOrCreateInstance(active, { content: popover.innerHTML,