Skip to content

Instantly share code, notes, and snippets.

@katapad
Created February 28, 2013 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save katapad/5056219 to your computer and use it in GitHub Desktop.
Save katapad/5056219 to your computer and use it in GitHub Desktop.
Facebook Javascript SDKのFeedDialogの大きさが2倍になるバグに対処する ref: http://qiita.com/items/ed89da2caee106b34ebd
var bodyW = $('body').css('width');
var css = document.styleSheets.item(0);
var idx = document.styleSheets[0].cssRules.length;
css.insertRule("body.android #fb-root .fb_dialog_mobile iframe { width:"
+ bodyW + " !important; }", idx);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment