http://bugs.developers.facebook.net/show_bug.cgi?id=18039
If you put this line in your JavaScript code before the Facebook code loads,
if (typeof(localStorage) === "undefined") {
  var localStorage = {};
}
The problem appears to happen inside the FB.init code:
FB.provide('', {
  initSitevars: {},
  init: function(a) {
    FB.TemplateData.init();
    FB.Event.subscribe('auth.sessionChange', FB.TemplateData.update);
Commenting out the FB.TemplateData.init() and FB.TemplateData.update code fixes things..
 
No comments:
Post a Comment