You need to create a template hook at footer_before_body_end hook location. Then the template code to use is below:
Code:
<script>
(function($) {
var $container = $('#widget_182');
if ($container.length) {
$('.go-to-last-post', $container).each(function() {
var $this = $(this),
$postTitleLink = $this.closest('.js-topic-item').find('.js-topic-title');
$postTitleLink.attr('href', $this.attr('href'));
});
}
})(jQuery);
</script>
That will update the URL of the post title to be the same as that of the Go to Last Post icon. This will apply to the "Latest Updated Topics" module only which has id of widget_182. If you want to apply it everywhere, then just change:
Code:
var $container = $('#widget_182');
to:
Code:
var $container = $('.topic-list-container');