Disabling axaxify causes weird scrolls when clicking on "1 new reply" under posts

Bug Reports
  • So we disabled ajaxfiy on our site because the Ads don't render correctly if we turn it on.

    So we turned it off using the following line in our custom header:

    $(document.body).off('click', 'a');

    Now the ads render fine, but on a topic when we click on "1 reply under the post"
    0_1517995121078_4fbb37ef-e34a-4b99-b9e4-6060973b7255-image.png

    it causes a sudden scroll up on the page to the top of the page instead of uncollapsing the 1 reply and show the reply.

    How can we fix this with ajaxify turned off ?

    or may be turn on ajaxify only for this link?

  • Hmm instead of turning off all clicks can you try commenting out ajaxifyAnchors(); in public/src/ajaxify.js


Suggested Topics