mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 03:21:18 +01:00
I thought I was on holiday (fixes infinite loop on language calls)
This commit is contained in:
@@ -123,7 +123,7 @@
|
||||
|
||||
var parsedKey = key.replace('[[', '').replace(']]', '').split(':');
|
||||
if (!(parsedKey[0] && parsedKey[1])) {
|
||||
return;
|
||||
return callback(data);
|
||||
}
|
||||
|
||||
var languageFile = parsedKey[0];
|
||||
|
||||
Reference in New Issue
Block a user