diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index d3322452e..b6556260d 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -81,7 +81,7 @@ socket.on('speak', function(json) { document.getElementsByClassName('avatar')[0].classList.remove('d-none') document.getElementsByClassName('avatar-pic')[0].src = json['avatar'] if (json['hat']) - document.getElementsByClassName('avatar-hat')[0].src = json['hat'] + "?h=5" + document.getElementsByClassName('avatar-hat')[0].src = json['hat'] + "?h=7" else document.getElementsByClassName('avatar-hat')[0].removeAttribute("src") diff --git a/files/assets/js/comments+submission_listing.js b/files/assets/js/comments+submission_listing.js index bb65aed26..8076df753 100644 --- a/files/assets/js/comments+submission_listing.js +++ b/files/assets/js/comments+submission_listing.js @@ -49,7 +49,7 @@ function popclick(e) { 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=5" + if (author["hat"]) popover.getElementsByClassName('pop-hat')[0].src = author['hat'] + "?h=7" popover.getElementsByClassName('pop-username')[0].innerHTML = author["username"] if (popover.getElementsByClassName('pop-bio').length > 0) { popover.getElementsByClassName('pop-bio')[0].innerHTML = author["bio_html"] diff --git a/files/templates/chat.html b/files/templates/chat.html index dc997e300..e11da6bc0 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -182,7 +182,7 @@
{% if m.get('hat') -%} - + {%- endif %}
{% endif %} diff --git a/files/templates/comments.html b/files/templates/comments.html index b75e244d0..199cc8f14 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -169,7 +169,7 @@
{% if c.author.hat_active -%} - + {%- endif %}
{{c.author_name}} @@ -824,7 +824,7 @@ {% include "expanded_image_modal.html" %} - + - + diff --git a/files/templates/user_in_table.html b/files/templates/user_in_table.html index c4b8d6748..8acb5f34e 100644 --- a/files/templates/user_in_table.html +++ b/files/templates/user_in_table.html @@ -2,7 +2,7 @@
{% if user.hat_active -%} - + {%- endif %}
{{user.username}} diff --git a/files/templates/user_listing.html b/files/templates/user_listing.html index fe007d05c..c56758741 100644 --- a/files/templates/user_listing.html +++ b/files/templates/user_listing.html @@ -7,7 +7,7 @@
{% if u.hat_active -%} - + {%- endif %}
diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 513e56d15..df8919e39 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -42,7 +42,7 @@ {% if u.hat_active -%} - + {%- endif %} @@ -407,7 +407,7 @@ {% if u.hat_active -%} - + {%- endif %}