Changed animation speed to hide laggy text height

This commit is contained in:
Zak Timson 2017-09-03 17:13:20 -04:00
parent e3af05a0b0
commit a79ea99c59

View File

@ -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 %}