>>108845879
>>108846307
Whaheyyyyy, I found the error. Every now and then, the threadwatcher function would execute before Boardconfig was ready, but it has a function to execute callbacks once it is. The new code:
//no point checking the bump limit for dead or archived threads.
//Also, data.replies is usually not available to dead or archived threads
if(!data.isDead && !data.isArchived) {
//execute after boardconfig is ready
BoardConfig.ready(() => {
if(data.replies > BoardConfig.boards[boardID].bump_limit) {
$.addClass(div, 'bump-limit-reached');
}
});
}