From 3da64660454b4a9d4803bcb0ee43d5f70eb68a5c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 3 Jan 2015 03:37:53 -0500 Subject: [PATCH] I thought I was on holiday (fixes infinite loop on language calls) --- public/src/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/translator.js b/public/src/translator.js index 1802e858d8..2fd8b79d1a 100644 --- a/public/src/translator.js +++ b/public/src/translator.js @@ -123,7 +123,7 @@ var parsedKey = key.replace('[[', '').replace(']]', '').split(':'); if (!(parsedKey[0] && parsedKey[1])) { - return; + return callback(data); } var languageFile = parsedKey[0];