diff --git a/files/assets/js/comments+submission_listing.js b/files/assets/js/comments+submission_listing.js index 5b0f0bcf7..deb2a7225 100644 --- a/files/assets/js/comments+submission_listing.js +++ b/files/assets/js/comments+submission_listing.js @@ -36,17 +36,6 @@ function popclick(e) { let popover = document.getElementsByClassName("popover") popover = popover[popover.length-1] - if (popover.getElementsByClassName('pop-badges').length > 0) { - const badgesDOM = popover.getElementsByClassName('pop-badges')[0]; - badgesDOM.innerHTML = ""; - for (const badge of author["badges"]) { - const badgeDOM = popClickBadgeTemplateDOM.cloneNode(); - badgeDOM.src = badge + "?b=4"; - - badgesDOM.append(badgeDOM); - } - } - popover.getElementsByClassName('pop-banner')[0].src = author["bannerurl"] popover.getElementsByClassName('pop-picture')[0].src = author["profile_url"] if (author["hat"]) popover.getElementsByClassName('pop-hat')[0].src = author['hat'] + "?h=7" diff --git a/files/classes/user.py b/files/classes/user.py index 5f5bb6879..3313ed515 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -796,7 +796,6 @@ class User(Base): 'coins': self.coins, 'post_count': 0 if self.shadowbanned and not (v and v.can_see_shadowbanned) else self.post_count, 'comment_count': 0 if self.shadowbanned and not (v and v.can_see_shadowbanned) else self.comment_count, - 'badges': [x.path for x in self.badges], } return data diff --git a/files/templates/popover.html b/files/templates/popover.html index 5183117bf..7583d9084 100644 --- a/files/templates/popover.html +++ b/files/templates/popover.html @@ -17,11 +17,6 @@ {%- endif %} - {% if FEATURES['BADGES'] -%} -
-
- {%- endif %} -