fixed #867 - added proper detection so that onpopstate would not react if it was a proper page load

This commit is contained in:
Julian Lam
2014-01-24 10:09:28 -05:00
parent 43808c01ec
commit 459d5ddccd
2 changed files with 3 additions and 1 deletions

View File

@@ -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>';