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.
main
discomrade 2 years ago
parent
commit
6bcf20804b
  1. 4
      templates/themes/ukko/ukko.js

4
templates/themes/ukko/ukko.js

@ -73,6 +73,8 @@ $(document).ready(function() {
boardheader.insertBefore(thread);
addukkohide.call(boardheader);
$(document).trigger('new_post', thread);
// Make the post filter (if enabled) re-run on this page to consider new threads.
$(document).trigger('filter_page');
}
overflow.shift();
} else {
@ -95,6 +97,8 @@ $(document).ready(function() {
boardheader.insertBefore(thread);
addukkohide.call(boardheader);
$(document).trigger('new_post', thread);
// Make the post filter (if enabled) re-run on this page to consider new threads.
$(document).trigger('filter_page');
}
overflow.shift();

Loading…
Cancel
Save