make :marseyunpettable: unpettable
parent
e34f1a1c15
commit
1549508e49
|
@ -145,7 +145,7 @@ def render_emoji(html, regexp, edit, marseys_used, b=False):
|
|||
emoji_partial = '<img loading="lazy" data-bs-toggle="tooltip" alt=":{0}:" title=":{0}:" src="{1}"{2}>'
|
||||
emoji_html = None
|
||||
|
||||
if emoji.endswith('pat'):
|
||||
if emoji.endswith('pat') and emoji != 'marseyunpettablepat':
|
||||
if path.isfile(f"files/assets/images/emojis/{emoji.replace('pat','')}.webp"):
|
||||
emoji_html = f'<span data-bs-toggle="tooltip" alt=":{old}:" title=":{old}:"><img src="/i/hand.webp">{emoji_partial_pat.format(old, f"/e/{emoji[:-3]}.webp", attrs)}</span>'
|
||||
elif emoji.startswith('@'):
|
||||
|
|
|
@ -22,7 +22,7 @@ set CACHE_VER = {
|
|||
'js/emoji_modal.js': 297,
|
||||
'js/formatting.js': 240,
|
||||
'js/lottery.js': 256,
|
||||
'js/marked.js': 279,
|
||||
'js/marked.js': 280,
|
||||
'js/submit.js': 265,
|
||||
'js/userpage.js': 241,
|
||||
'js/userpage_v.js': 245,
|
||||
|
|
Loading…
Reference in New Issue