diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 730be2d..958db29 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -709,9 +709,9 @@ for (var i = 0; i < badges_options.length; i++) { var badge = badges_options[i]; if (data.badges.indexOf(badge) != -1) { - $(`#usercard .badges .${badge}`).show(); + $("#usercard .badges ." + badge).show(); } else { - $(`#usercard .badges .${badge}`).hide(); + $("#usercard .badges ." + badge).hide(); } } $("#usercard .avatar").attr("src", data.avatar_url); diff --git a/webapp/titanembeds/templates/embed.html.j2 b/webapp/titanembeds/templates/embed.html.j2 index 9142c9b..82606ed 100644 --- a/webapp/titanembeds/templates/embed.html.j2 +++ b/webapp/titanembeds/templates/embed.html.j2 @@ -243,6 +243,7 @@ +