diff --git a/js/multilingual_survey.js b/js/multilingual_survey.js index 79bfd2f..389d31e 100644 --- a/js/multilingual_survey.js +++ b/js/multilingual_survey.js @@ -732,11 +732,16 @@ var Multilingual = (function(){ piping(); stopText(); controlText(); + if(settings['languages_variable'] && settings['languages_variable']['value']){ - doBranching(settings['languages_variable']['value']); + if($('#' + settings['languages_variable']['value'] + '-tr').length){ + doBranching(settings['languages_variable']['value']); + } } else{ - doBranching('languages'); + if($('#languages-tr').length){ + doBranching('languages'); + } } //econsent pdf