Changed animation speed to hide laggy text height
This commit is contained in:
parent
e3af05a0b0
commit
a79ea99c59
@ -33,11 +33,10 @@
|
|||||||
$('.newsletter').click(function() {
|
$('.newsletter').click(function() {
|
||||||
var content = $('.newsletter-body', this);
|
var content = $('.newsletter-body', this);
|
||||||
if(content.css('display') == 'block') {
|
if(content.css('display') == 'block') {
|
||||||
content.slideUp()
|
content.slideUp('fast')
|
||||||
} else {
|
} else {
|
||||||
content.slideDown()
|
content.slideDown('fast')
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user