Browse Source

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

This seems like the most appropriate simple fix, hopefully not too wasteful.
pull/68/head
discomrade 2 years ago
parent
commit
0950d4d09d
  1. 2
      templates/themes/overboards/overboard.js

2
templates/themes/overboards/overboard.js

@ -75,6 +75,8 @@ $(document).ready(function() {
addHideButton.call(boardLink);
// Trigger an event to let the world know that we have a new thread aboard
$(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() {

Loading…
Cancel
Save