mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
fix title in acp removed extra |
This commit is contained in:
@@ -291,6 +291,9 @@ app.cacheBuster = null;
|
||||
};
|
||||
|
||||
app.refreshTitle = function(title) {
|
||||
if (!title) {
|
||||
return;
|
||||
}
|
||||
require(['translator'], function(translator) {
|
||||
title = config.titleLayout.replace(/{/g, '{').replace(/}/g, '}').replace('{pageTitle}', title).replace('{browserTitle}', config.browserTitle);
|
||||
translator.translate(title, function(translated) {
|
||||
|
||||
Reference in New Issue
Block a user