forked from rDrama/rDrama
cachebust
parent
8b93507b19
commit
97dc727e22
|
@ -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")
|
||||
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -182,7 +182,7 @@
|
|||
<div class="profile-pic-20-wrapper">
|
||||
<img src="{{m['avatar']}}" class="pp20 mr-1">
|
||||
{% if m.get('hat') -%}
|
||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{m['hat']}}?h=5">
|
||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{m['hat']}}?h=7">
|
||||
{%- endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -169,7 +169,7 @@
|
|||
<div class="profile-pic-30-wrapper">
|
||||
<img loading="lazy" src="{{c.author.profile_url}}" class="profile-pic-30 mr-2">
|
||||
{% if c.author.hat_active -%}
|
||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{c.author.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.hat_tooltip(v)}}">
|
||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{c.author.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{c.author.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
<span {% if c.author.patron and not c.distinguish_level %}class="patron" style="background-color:#{{c.author.name_color}};"{% elif c.distinguish_level %}class="mod"{% endif %}>{{c.author_name}}</span>
|
||||
|
@ -824,7 +824,7 @@
|
|||
|
||||
{% include "expanded_image_modal.html" %}
|
||||
|
||||
<script defer src="/assets/js/comments+submission_listing.js?h=5"></script>
|
||||
<script defer src="/assets/js/comments+submission_listing.js?h=7"></script>
|
||||
<script defer src="/assets/js/comments.js?v=4000"></script>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
const profile_pic_hat = document.getElementById("profile-pic-35-hat");
|
||||
function extra_actions(xhr) {
|
||||
if(xhr.status == 200) {
|
||||
profile_pic_hat.src = `/i/hats/${hat_name}.webp?h=5`
|
||||
profile_pic_hat.src = `/i/hats/${hat_name}.webp?h=7`
|
||||
profile_pic_hat.classList.remove('d-none')
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,7 @@
|
|||
<td>
|
||||
<div class="profile-pic-75-wrapper mt-4">
|
||||
<img loading="lazy" alt="avatar" src="{{v.profile_url}}" class="profile-pic-75">
|
||||
<img loading="lazy" alt="{{hat.name}}" class="profile-pic-75-hat" src="/i/hats/{{hat.name}}.webp?h=5">
|
||||
<img loading="lazy" alt="{{hat.name}}" class="profile-pic-75-hat" src="/i/hats/{{hat.name}}.webp?h=7">
|
||||
</div>
|
||||
</td>
|
||||
<td>{{hat.name}}</td>
|
||||
|
|
|
@ -206,7 +206,7 @@
|
|||
<div class="profile-pic-35-wrapper">
|
||||
<img loading="lazy" src="{{v.profile_url}}" class="profile-pic-35">
|
||||
{% if v.hat_active -%}
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{v.hat_active}}?h=5">
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{v.hat_active}}?h=7">
|
||||
{% elif request.path == '/hats' %}
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat d-none" loading="lazy">
|
||||
{%- endif %}
|
||||
|
|
|
@ -103,7 +103,7 @@
|
|||
<div class="profile-pic-35-wrapper">
|
||||
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
|
||||
{% if ma.user.hat_active -%}
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
</span>
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
<div class="profile-pic-35-wrapper">
|
||||
<img loading="lazy" src="{{ma.user.profile_url}}" alt="avatar" class="profile-pic-35">
|
||||
{% if ma.user.hat_active -%}
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
||||
<img id="profile-pic-35-hat" class="profile-pic-35-hat hat" loading="lazy" src="{{ma.user.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{ma.user.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
</span>
|
||||
|
|
|
@ -674,7 +674,7 @@
|
|||
<div class="profile-pic-30-wrapper">
|
||||
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-30 mr-2">
|
||||
{% if p.author.hat_active -%}
|
||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.name_color}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
|
||||
|
|
|
@ -172,7 +172,7 @@
|
|||
<div class="profile-pic-30-wrapper" style="margin-top:9px">
|
||||
<img loading="lazy" src="{{p.author.profile_url}}" class="profile-pic-30 mr-2">
|
||||
{% if p.author.hat_active -%}
|
||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
||||
<img class="profile-pic-30-hat hat" loading="lazy" src="{{p.author.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{p.author.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
<span {% if p.author.patron and not p.distinguish_level %}class="patron" style="background-color:#{{p.author.name_color}};"{% elif p.distinguish_level %}class="mod"{% endif %}>{{p.author_name}}</span>
|
||||
|
@ -426,5 +426,5 @@
|
|||
{% include "expanded_image_modal.html" %}
|
||||
|
||||
<script defer src="/assets/js/clipboard.js?v=4000"></script>
|
||||
<script defer src="/assets/js/comments+submission_listing.js?h=5"></script>
|
||||
<script defer src="/assets/js/comments+submission_listing.js?h=7"></script>
|
||||
<script defer src="{{asset('js/submission_listing.js')}}"></script>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="profile-pic-20-wrapper mb-2">
|
||||
<img loading="lazy" src="{{user.profile_url}}" class="pp20">
|
||||
{% if user.hat_active -%}
|
||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_tooltip(v)}}">
|
||||
<img class="profile-pic-20-hat hat" loading="lazy" src="{{user.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{user.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
<span {% if user.patron %}class="patron" style="background-color:#{{user.name_color}}"{% endif %}>{{user.username}}</span>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div class="profile-pic-50-wrapper" style="position: absolute; left: 15px; bottom: 15px; box-sizing: content-box;">
|
||||
<img loading="lazy" src="{{u.profile_url}}" class="profile-pic-50">
|
||||
{% if u.hat_active -%}
|
||||
<img id="profile-pic-50-hat" class="profile-pic-50-hat hat" loading="lazy" src="{{u.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||
<img id="profile-pic-50-hat" class="profile-pic-50-hat hat" loading="lazy" src="{{u.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class="profile-pic-100-wrapper">
|
||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic profile-pic-100 mb-5">
|
||||
{% if u.hat_active -%}
|
||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-100-hat hat" loading="lazy" src="{{u.hat_active}}?h=5" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-100-hat hat" loading="lazy" src="{{u.hat_active}}?h=7" data-bs-toggle="tooltip" data-bs-placement="bottom" title="{{u.hat_tooltip(v)}}">
|
||||
{%- endif %}
|
||||
</a>
|
||||
</div>
|
||||
|
@ -407,7 +407,7 @@
|
|||
<a rel="nofollow noopener noreferrer" href="{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}" class="profile-pic-65-wrapper">
|
||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" loading="lazy" src="{{u.profile_url}}" class="profile-pic-65 bg-white mb-2">
|
||||
{% if u.hat_active -%}
|
||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-65-hat hat" loading="lazy" src="{{u.hat_active}}?h=5">
|
||||
<img onclick="expandDesktopImage('{% if u.highres %}{{u.highres}}{% else %}{{u.profile_url}}{% endif %}')" class="profile-pic-65-hat hat" loading="lazy" src="{{u.hat_active}}?h=7">
|
||||
{%- endif %}
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue