make "show more" button look nicer

master
Aevann1 2022-06-29 04:35:52 +02:00
parent 0710ea02ac
commit 790a814b36
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ def sanitize(sanitized, edit=False):
sanitized = sanitized.replace('\n','')
if len(sanitized) > 5000:
sanitized = showmore_regex.sub(r'\1<p><a onclick="showmore()" role="button">SHOW MORE...</a></p><div class="d-none">\2</div>', sanitized)
sanitized = showmore_regex.sub(r'\1<p><button class="btn btn-primary" onclick="showmore()">SHOW MORE</button></p><div class="d-none">\2</div>', sanitized)
signal.alarm(0)

View File

@ -16,7 +16,7 @@ set CACHE_VER = {
'css/win98.css': 61,
'js/award_modal.js': 253,
'js/bootstrap.js': 271,
'js/bootstrap.js': 272,
'js/comments+submission_listing.js': 261,
'js/submission_listing.js': 261,
'js/emoji_modal.js': 297,