Skip to content

Instantly share code, notes, and snippets.

@julianlam
Created October 20, 2014 14:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julianlam/a4e9c4c9458e0ccdd459 to your computer and use it in GitHub Desktop.
Save julianlam/a4e9c4c9458e0ccdd459 to your computer and use it in GitHub Desktop.
[nodebb-script-ajaxify-disable] Disable the Single Page Application aspect of NodeBB
<script>
ajaxify.go = function(url) {
window.location.href = RELATIVE_PATH + '/' + url;
};
</script>
@julianlam
Copy link
Author

Place this snippet inside of an HTML/Script widget located in a Global widget area, otherwise it will not take effect on all pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment