Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
switch to display=popup and normal size
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsw committed Oct 18, 2012
1 parent 2a34599 commit 4fc3001
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/assets/javascripts/petition.js
Expand Up @@ -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();
Expand Down

0 comments on commit 4fc3001

Please sign in to comment.