Node.js based forum software built for the modern web
fixed custom_mapping bug
psychobunny6ebc5398a7b9
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.jsindex 091fa8a453..d870b86fce 100644--- a/public/src/ajaxify.js+++ b/public/src/ajaxify.js@@ -25,6 +25,7 @@ var ajaxify = {};};ajaxify.go = function(url, callback) {+// leave room and join globalapp.enter_room('global');@@ -39,7 +40,7 @@ var ajaxify = {};jQuery('#content').fadeOut(100);load_template(function() {-+ console.log('called');exec_body_scripts(content);ajaxify.enable();diff --git a/public/src/templates.js b/public/src/templates.jsindex 8eaea3502f..babefa961b 100644--- a/public/src/templates.js+++ b/public/src/templates.js@@ -2,7 +2,7 @@ var templates = {};(function() {var ready_callback,- config;+ config = {};templates.get_custom_map = function(tpl) {return (config['custom_mapping'] && config['custom_mapping'][tpl]) ? config['custom_mapping'][tpl] : tpl;