mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
last commit doesn't play well with ajaxify, need a rethink.
This commit is contained in:
@@ -304,8 +304,6 @@ middleware.processRender = function(req, res, next) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render.call(self, template, options, function(err, str) {
|
render.call(self, template, options, function(err, str) {
|
||||||
str = (res.locals.postHeader ? res.locals.postHeader : '') + str + (res.locals.preFooter ? res.locals.preFooter : '');
|
|
||||||
|
|
||||||
if (res.locals.footer) {
|
if (res.locals.footer) {
|
||||||
str = str + res.locals.footer;
|
str = str + res.locals.footer;
|
||||||
} else if (res.locals.adminFooter) {
|
} else if (res.locals.adminFooter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user