From 18ae08de8f90f84dc168c9e71c3fbdf877a8a644 Mon Sep 17 00:00:00 2001 From: Michael Teeuw Date: Tue, 2 Aug 2016 20:14:24 +0000 Subject: [PATCH] Possible fix for #388 --- js/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/module.js b/js/module.js index 6f7f9686..293d00b5 100644 --- a/js/module.js +++ b/js/module.js @@ -247,7 +247,7 @@ var Module = Class.extend({ // If a translation file is set, load it and then also load the fallback translation file. // Otherwise only load the fallback translation file. - if (translationFile !== undefined) { + if (translationFile !== undefined && translationFile !== translationsFallbackFile) { Translator.load(self, translationFile, false, function() { Translator.load(self, translationsFallbackFile, true, callback); });