fix

parent cf88b13c
......@@ -53,10 +53,12 @@ $(document).ready(function() {
if ($('.dep_block_hide__btn').text() == $(this).data('show')){
$('.dep_block__hide').slideDown(1000);
$(this).text($(this).data('hide'));
$('.dep_block .line_hide').slideDown(500);
}
else {
$('.dep_block__hide').slideUp(1000);
$(this).text($(this).data('show'));
$('.dep_block .line_hide').slideUp(500);
}
});
......
......@@ -6,18 +6,4 @@ $(document).ready(function() {
return false;
});
$('.dep_block_hide__btn').click(function(){
if ($('.dep_block_hide__btn').text() == $(this).data('show')){
$('.dep_block__hide').slideDown(1000);
$(this).text($(this).data('hide'));
$('.dep_block .line_hide').slideDown(500);
}
else {
$('.dep_block__hide').slideUp(1000);
$(this).text($(this).data('show'));
$('.dep_block .line_hide').slideUp(500);
}
return false;
});
});
\ No newline at end of file
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