render widgets on cold load

This commit is contained in:
psychobunny
2014-02-28 16:17:35 -05:00
parent 23c283f06c
commit 6827dbc9c4
2 changed files with 9 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ var ajaxify = {};
app.processPage();
ajaxify.renderWidgets(tpl_url, url, location, function(err) {
ajaxify.renderWidgets(tpl_url, url, function(err) {
$('#content, #footer').stop(true, true).removeClass('ajaxifying');
ajaxify.initialLoad = false;
@@ -131,7 +131,7 @@ var ajaxify = {};
return tpl_url;
}
ajaxify.renderWidgets = function(tpl_url, url, location, callback) {
ajaxify.renderWidgets = function(tpl_url, url, callback) {
var widgetLocations = [];
require(['vendor/async'], function(async) {