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,