Retrigger Element Registers on AJAX load?

Status
This content is read-only, or is not open for further replies.

Jaxel

Guest
offline
In previous versions of XF, I had page navigation handled through AJAX. This way I could navigate through pages of comments, without reloading the page, just the comment pane:
Code:

Code:
        init: function()
        {
            this.$target.on('click', '.pageNavWrapper a', $.proxy(this, 'click'));
        },
        
        click: function(e)
        {
            e.preventDefault();
            
            if ($(e.currentTarget).attr('href'))
            {
                const wrapper =...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom