Skip to content

Commit

Permalink
Merge pull request #47 from Softcatala/traductor_mobil_fletxa
Browse files Browse the repository at this point in the history
Remove arrow when target language is unique
  • Loading branch information
xavivars committed Nov 6, 2015
2 parents 2320bcd + 5a2ed47 commit e96f077
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/js/traductor.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,9 +392,11 @@ function set_target_button_mobile ( language ) {
if( language == 'cat' ) {
$("#target-select-mobil option[value='cat']").css('display', '');
$('div.btns-llengues-desti .dropdown-menu').css('display', 'none');
$('#div_select_target_mobile .filter-option').next("span").removeClass('caret');
} else {
$("#target-select-mobil option[value='cat']").css('display', 'none');
$('div.btns-llengues-desti .dropdown-menu').css('display', '');
$('#div_select_target_mobile .filter-option').next("span").addClass('caret');
}
$('#target-select-mobil').selectpicker('render');
}
Expand Down

0 comments on commit e96f077

Please sign in to comment.