Created
October 20, 2014 14:29
-
-
Save julianlam/a4e9c4c9458e0ccdd459 to your computer and use it in GitHub Desktop.
[nodebb-script-ajaxify-disable] Disable the Single Page Application aspect of NodeBB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
ajaxify.go = function(url) { | |
window.location.href = RELATIVE_PATH + '/' + url; | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Place this snippet inside of an HTML/Script widget located in a Global widget area, otherwise it will not take effect on all pages.