thread-stats.js: fix badly named variable #170

This commit is contained in:
Zankaria 2024-08-20 13:51:36 +02:00
parent 0fa25714d4
commit 98888f4e5f

View file

@ -27,7 +27,7 @@ if (active_page == 'thread') {
delete el;
function fetchPageNumber() {
$.getJSON('//' + document.location.host + '/' + boardName + '/threads.json', function(data) {
$.getJSON('//' + document.location.host + '/' + board_name + '/threads.json', function(data) {
let found;
let page = '???';
let threadIdInt = parseInt(threadId);