trigger action:ajaxify.contentLoaded on cold load as well

This commit is contained in:
psychobunny
2014-07-17 15:48:21 -04:00
parent bb0223897f
commit 7401744112

View File

@@ -524,6 +524,10 @@ var socket,
ajaxify.variables.parse();
ajaxify.currentPage = url;
$window.trigger('action:ajaxify.contentLoaded', {
url: url
});
if (window.history && window.history.replaceState) {
window.history.replaceState({
url: url + search + hash