Solve dynamically loaded threads not being filtered. Possibly a hack-fix.

This seems like the most appropriate simple fix, hopefully not too wasteful.
This commit is contained in:
discomrade 2022-01-24 03:05:48 +00:00
parent a1f8f4adca
commit bc7fa47aa2

View file

@ -75,6 +75,8 @@ $(document).ready(function() {
addHideButton.call(boardLink); addHideButton.call(boardLink);
// Trigger an event to let the world know that we have a new thread aboard // Trigger an event to let the world know that we have a new thread aboard
$(document).trigger('new_post', elem); $(document).trigger('new_post', elem);
// Make the post filter (if enabled) re-run on this page to consider new threads.
$(document).trigger('filter_page');
}; };
var attemptLoadNext = function() { var attemptLoadNext = function() {