mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-23 17:00:24 +01:00
@@ -330,7 +330,7 @@ $(document).ready(function () {
|
||||
};
|
||||
|
||||
ajaxify.loadTemplate = function (template, callback) {
|
||||
require([config.relative_path + '/assets/templates/' + template + '.jst'], callback, function (err) {
|
||||
require([config.relative_path + '/assets/templates/' + template + '.js'], callback, function (err) {
|
||||
console.error('Unable to load template: ' + template);
|
||||
throw err;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user