(tableDrop).fadeToggle(function() {
showV = $(this).is(':visible');
if (showV === true) {
$('i').animate({ rotDeg: 180 }, {
step: function(n) {
$('i').css({"transform" : 'rotate(' + n + 'deg', "vertical-align" : "sub"});
}, duration: 150,
}, "linear");
} else {
$('button').html('Показать<i class="fas fa-sort-down"></i>');
$('i').animate({ rotDeg: 0 }, {
step: function(n) {
$('i').css({"transform" : 'rotate('+ n + 'deg', "vertical-align" : "top"});
}, duration: 150,
}, "linear");
}
});
while(!sameHeight(this) && fontSizeDown == 0){
$this.css("font-size", ++fontSizeDown);
}