fix

parent a6c48a4d
......@@ -37,9 +37,9 @@ $(document).ready(function() {
});
$('.about_hide_block').hide();
$('.about_hide_btn').click(function(){
if ($('.about_hide_btn').text() == 'Подробнее'){
if ($('.about_hide_btn').text() == $(this).data('show')){
$('.about_hide_block').slideDown(1000);
$(this).text($(this).data('hide'))
$(this).text($(this).data('hide'));
}
else {
$('.about_hide_block').slideUp(1000);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment