Skip to content
Browse files

switch to display=popup and normal size

  • Loading branch information...
1 parent 2a34599 commit 4fc3001c8b4910bc0d2cf7de72e59d183d6bcbf2 @aaronsw aaronsw committed Oct 17, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 app/assets/javascripts/petition.js
View
5 app/assets/javascripts/petition.js
@@ -175,8 +175,9 @@ function bindFacebookDialogButton() {
"picture=" + getProperty('og:image') + "&" +
"name=" + getProperty('og:title') + "&" +
"description=" + getProperty('og:description') + "&" +
- "redirect_uri=" + location.href;
- window.open(dialog , 'dialog', 'width=1000,height=500');
+ "redirect_uri=" + location.href + "&" +
+ "display=popup";
+ window.open(dialog , 'dialog', 'width=626,height=436');
}
$('.fb_dialog_btn').click(function() {
openDialog();

0 comments on commit 4fc3001

Please sign in to comment.
Something went wrong with that request. Please try again.