onorientationchange bug after FB.init
<p>I have a problem and I really can't find a good solution.
On my facebook app for mobile. As soon as I launch the FB.init
the orientation of the screen doesn't resize the screen correctly
and I'm getting horizontal scrollbar wich is not appearing when FB.init is not launched.
Does someone have a solution on that ?</p>

<p>my code is this one :</p>

<blockquote>
    
  window.fbAsyncInit = function() {
      FB.init({

<pre><code>  appId      : 'MYAPPID', // App ID
  status     : true, // check login status
  cookie     : true, // enable cookies 
  xfbml      : true  // parse XFBML
}); }; 
</code></pre>
  
  (function(d){

<pre><code> var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
 js = d.createElement('script'); js.id = id; js.async = true;
 js.src = "//connect.facebook.net/en_US/all.js";
 d.getElementsByTagName('head')[0].appendChild(js);    
</code></pre>
  
  }(document)); 
  
</blockquote>

<hr>
