mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
fixed custom_mapping bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user