Browse Source
Merge pull request #303 from towards-a-new-leftypol/thread-stats-1
Keep thread stats below new posts
pull/40/head
nonmakina
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
js/thread-stats.js
|
@ -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){ |
|
|