From 98888f4e5f88cb77c2ed5872c5dbaf69ba5ff992 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Tue, 20 Aug 2024 13:51:36 +0200 Subject: [PATCH] thread-stats.js: fix badly named variable #170 --- js/thread-stats.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);