Keep thread stats below new posts

Courtesy of based lewdposter
Closes https://github.com/towards-a-new-leftypol/leftypol_lainchan/issues/230
This commit is contained in:
discomrade 2021-07-06 10:39:59 +00:00 committed by GitHub
parent e872b9ceaa
commit ba00b7c9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,8 +14,8 @@ $(document).ready(function(){
var thread_id = (document.location.pathname + document.location.search).split('/'); var thread_id = (document.location.pathname + document.location.search).split('/');
thread_id = thread_id[thread_id.length -1].split('+')[0].split('.')[0]; thread_id = thread_id[thread_id.length -1].split('+')[0].split('.')[0];
$('.clear') $('.clear').after('<div id="thread_stats"></div>');
.before('<div id="thread_stats"></div>');
var el = $('#thread_stats'); var el = $('#thread_stats');
el.prepend('Page <span id="thread_stats_page">?</span>'); el.prepend('Page <span id="thread_stats_page">?</span>');
if (IDsupport){ if (IDsupport){