mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 20:11:26 +01:00
fix: #11804, fix direction of dropdown on rtl
This commit is contained in:
@@ -273,6 +273,7 @@ module.exports = function (middleware) {
|
||||
const version = nconf.get('version');
|
||||
|
||||
res.locals.config.userLang = res.locals.config.acpLang || res.locals.config.userLang;
|
||||
res.locals.config.isRTL = results.languageDirection === 'rtl';
|
||||
const templateValues = {
|
||||
config: res.locals.config,
|
||||
configJSON: jsesc(JSON.stringify(res.locals.config), { isScriptContext: true }),
|
||||
|
||||
Reference in New Issue
Block a user