Created
February 28, 2013 11:51
-
-
Save katapad/5056219 to your computer and use it in GitHub Desktop.
Facebook Javascript SDKのFeedDialogの大きさが2倍になるバグに対処する ref: http://qiita.com/items/ed89da2caee106b34ebd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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