Possible fix for #388

This commit is contained in:
Michael Teeuw 2016-08-02 20:14:24 +00:00
parent 3d3c4ba02f
commit 18ae08de8f

View File

@ -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);
});