diff --git a/js/thread-stats.js b/js/thread-stats.js index 3dc47fb6..e734abc8 100644 --- a/js/thread-stats.js +++ b/js/thread-stats.js @@ -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);