@ -477,7 +477,8 @@ ajaxify.widgets = { render: render };
translator.translate(`[[global:reconnecting-message, ${config.siteTitle}]]`);
Benchpress.registerLoader(ajaxify.loadTemplate);
Benchpress.setGlobal('config', config);
Benchpress.render('500', {}); // loads and caches the 500.tpl
Benchpress.render('500', {}); // loads and caches 500.tpl
Benchpress.render('partials/toast'); // loads and caches partials/toast
});
}());
@ -98,7 +98,7 @@ define('forum/infinitescroll', ['hooks', 'alerts'], function (hooks, alerts) {
}).fail(function (jqXHR) {
loadingMore = false;
alerts.error(String(jqXHR.responseJSON || jqXHR.statusText));
alerts.error(String(jqXHR.responseJSON || '[[error:no-connection]]'));
};