mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
clean-up + bugfixes
This commit is contained in:
@@ -176,7 +176,9 @@ var ajaxify = {};
|
|||||||
next(err);
|
next(err);
|
||||||
});
|
});
|
||||||
}, function(err) {
|
}, function(err) {
|
||||||
callback(err);
|
if (callback) {
|
||||||
|
callback(err);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -363,8 +363,7 @@
|
|||||||
module.exports.__express = module.exports.render;
|
module.exports.__express = module.exports.render;
|
||||||
|
|
||||||
if ('undefined' !== typeof window) {
|
if ('undefined' !== typeof window) {
|
||||||
window.templates = module.exports;
|
window.templates = module.exports;a
|
||||||
templates.init();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
})('undefined' === typeof module ? {
|
})('undefined' === typeof module ? {
|
||||||
|
|||||||
Reference in New Issue
Block a user