aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-03-08 09:32:34 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-03-08 09:32:34 +0000
commit3c29ed23b27f91b814e399b3503ef415208969ff (patch)
tree02b29d2e9c86dd61ef249350a9ded8221a59857a
parent71eaea2a4fba993a1f7f673eb4398d234c01eae5 (diff)
Prevent animation jump when closing notice.
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 0ec9214f2..97130653f 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -465,6 +465,7 @@ $.fn.drawer = function(id, ajax) {
e.preventDefault();
$(this).parent('.promo').animate({
'height':0,
+ 'margin-bottom':0,
'padding-top':0,
'padding-bottom':0
},{