make :marseyunpettable: unpettable

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-08 17:39:54 +02:00
parent e34f1a1c15
commit 1549508e49
2 changed files with 2 additions and 2 deletions

View File

@ -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('@'):

View File

@ -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,