Skip to content

Commit

Permalink
Update multilingual_survey.js
Browse files Browse the repository at this point in the history
  • Loading branch information
smartinkc committed May 6, 2020
1 parent 6cbc493 commit 6f863f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions js/multilingual_survey.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f863f3

Please sign in to comment.