removed deprecated functions from topics.js (server side parsing) and fixed the 150ms initial delay on first load

This commit is contained in:
psychobunny
2013-05-06 20:23:38 +00:00
parent 724c1511af
commit 178bc82a55
2 changed files with 10 additions and 29 deletions

View File

@@ -35,18 +35,18 @@ var ajaxify = {};
window.history.pushState({}, url, "/" + url);
jQuery('#footer').fadeOut(100);
jQuery('#content').fadeOut(100, function() {
load_template(function() {
jQuery('#content').fadeOut(100);
exec_body_scripts(content);
load_template(function() {
ajaxify.enable();
if (callback) {
callback();
}
jQuery('#content, #footer').fadeIn(250);
});
exec_body_scripts(content);
ajaxify.enable();
if (callback) {
callback();
}
jQuery('#content, #footer').fadeIn(250);
});