#1005 - Правки по страницам

parent fb11eb54
...@@ -39,11 +39,11 @@ $(document).ready(function() { ...@@ -39,11 +39,11 @@ $(document).ready(function() {
$('.about_hide_btn').click(function(){ $('.about_hide_btn').click(function(){
if ($('.about_hide_btn').text() == 'Подробнее'){ if ($('.about_hide_btn').text() == 'Подробнее'){
$('.about_hide_block').slideDown(1000); $('.about_hide_block').slideDown(1000);
$(this).text('Скрыть') $(this).text($(this).data('hide'))
} }
else { else {
$('.about_hide_block').slideUp(1000); $('.about_hide_block').slideUp(1000);
$(this).text('Подробнее'); $(this).text($(this).data('show'));
} }
}); });
......
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