mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 20:41:17 +01:00
This solves a small UX issue where clicking on a button (or anchor that is not meant to be ajaxified) before ajaxify.end is called leads to nothing happening because the appropriate click handler has not been added. This code will intercept premature clicks, wait until ajaxify.end is called, and then re-send the click.