• Resolved pokmonde

    (@pokmonde)


    Hello, I am using your plugin to give an achievement to my users when they click on a button.

    I noticed that they don’t get the achievement at all because the AJAX request is canceled before executing. I found that you are using location.href = url; directly after the ajax call and not waiting for it to succeed.

    To fix it I would suggest to move the redirect code in the ajax success callback instead of calling it in parallel.

    You can reproduce the bug on Windows, Firefox 120.0.1 (and maybe other browsers but I haven’t tested it).

Viewing 1 replies (of 1 total)
  • Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @pokmonde,

    That feature was a change that was introduced to avoid waiting for redirects.

    Anyway, thanks for your suggestion. The development team will review this feature to avoid the issue.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect too fast for ajax’ is closed to new replies.