mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-21 05:57:43 +01:00
There was some internal logic in ajaxify that handled special links that should explicitly not be ajaxified (either it is a null href or should be loaded as a direct page load, etc.) - this was moved out to an exported method so it can be consumed by the service worker onmessage listener. Also since this logic evolved over many years, there were some duplications and so those have been amended (though I will not guarantee that it was done bug/regression free!!)