Skip to content

Commit

Permalink
Adjusted animation speed.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrynearson committed Sep 2, 2010
1 parent 3dd571f commit 34b6e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ds_feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Drupal.behaviors.DSFeeback = function(context) {
$('.block-title', this).click(function() {
var block = $(this).parents('div.block');
if (!$(block).is('.ds-feedback-active')) {
$('.block-content', block).slideDown('slow');
$('.block-content', block).slideDown('fast');
$(block).addClass('ds-feedback-active');
}
else {
$(block).removeClass('ds-feedback-active');
$('.block-content', block).slideUp('slow');
$('.block-content', block).slideUp('fast');
}
});
});
Expand Down

0 comments on commit 34b6e88

Please sign in to comment.