diff --git a/static/js/gofly-front.js b/static/js/gofly-front.js index 79bbffe..21a47f2 100644 --- a/static/js/gofly-front.js +++ b/static/js/gofly-front.js @@ -28,11 +28,10 @@ GOFLY.init=function(config){ } this.dynamicLoadJs(this.GOFLY_URL+"/static/js/functions.js?v=1",function(){ - _this.GOFLY_LANG=checkLang(); if (typeof config.GOFLY_LANG!="undefined"){ _this.GOFLY_LANG=config.GOFLY_LANG; }else{ - _this.GOFLY_LANG=config.GOFLY_LANG; + _this.GOFLY_LANG=checkLang(); } });