forked from MarseyWorld/MarseyWorld
make "show more" button look nicer
parent
0710ea02ac
commit
790a814b36
|
@ -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)
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue