I have an AddPostRenderCallback that is working correctly when the page first loads but when I click to the second or third page of results it doesn't fire again. It's just some additional jquery and pretty basic string modification stuff but it needs to change the display on all results pages.
AddPostRenderCallback(ctx, function () {
EnsureScriptFunc("jquery-1.11.1.min.js", null, function() {
$('.articleTopic').each(function() {
var topicString = $(this).text();
topicString = topicString.split(';').join(', ');
$(this).text(topicString);
});
});
Is there an additional check I need to make after the page click to ensure this fires every time the results are changed?