Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
[nodebb-script-ajaxify-disable] Disable the Single Page Application aspect of NodeBB
ajaxify.go = function(url) {
window.location.href = RELATIVE_PATH + '/' + url;
Copy link

julianlam commented Oct 20, 2014

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