diff --git a/client/src/ui/profilebadges.js b/client/src/ui/profilebadges.js index a785fd37..bd6c59d8 100644 --- a/client/src/ui/profilebadges.js +++ b/client/src/ui/profilebadges.js @@ -225,6 +225,8 @@ export default class extends Module { root.removeChild(root.firstChild); } + if (root.classList.contains('bd-has-badge')) return; + const { userid } = root.dataset; if (!userid) return; @@ -234,7 +236,7 @@ export default class extends Module { VueInjector.inject(root, { components: { BdBadge }, data: { c }, - template: '', + template: '', }); }