mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 11:27:01 +02:00
Fix failing tests
This commit is contained in:
@@ -46,10 +46,10 @@ function getTranslationTree(callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!languages.includes(language)) {
|
||||
if (languages.indexOf(language) === -1) {
|
||||
languages.push(language);
|
||||
}
|
||||
if (!namespaces.includes(namespace)) {
|
||||
if (namespaces.indexOf(namespace) === -1) {
|
||||
namespaces.push(namespace);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user