Permalink
Browse files

fix bug with facebook like and progress bar showing within sidebar af…

…ter signing
  • Loading branch information...
1 parent 2b397b8 commit a796306ca197aaedae715b50b1dc8a3740311bb1 @rlkammerer rlkammerer committed Jan 21, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/views/petitions/show.html.haml
@@ -49,7 +49,8 @@
- if !@was_signed && (privacy_policy_position_and_color == "outside_ccc" || privacy_policy_position_and_color == "outside_aaa" || privacy_policy_position_and_color == "outside_888")
.privacypolicy{ :class => privacy_policy_position_and_color }
= render :partial => "privacy"
- = render :partial => "fblike_progress"
+ - if !@was_signed
+ = render :partial => "fblike_progress"
#thanks-for-signing-message
= render :partial => "thanks_for_signing", locals: { who: 'the-one-in-the-side' }

0 comments on commit a796306

Please sign in to comment.