mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 09:20:32 +01:00
fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load
This commit is contained in:
@@ -401,6 +401,7 @@ if(nconf.get('ssl')) {
|
||||
|
||||
app.create_route = function (url, tpl) { // to remove
|
||||
var routerScript = '<script> \
|
||||
ajaxify.initialLoad = true; \
|
||||
templates.ready(function(){ajaxify.go("' + url + '", null, true);}); \
|
||||
</script>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user