Merge pull request #1858 from vcuculo/1847-fix-mobile-site

1857 Fix for mobile site
This commit is contained in:
Maxwell Salzberg 2011-08-31 09:24:48 -07:00
commit 0e646d7bf7

View file

@ -76,8 +76,8 @@
Diaspora.page = new Page();
}
$.extend(Diaspora.page, new Diaspora.BasePage($(document.body)));
if (!$.mobile)
$.extend(Diaspora.page, new Diaspora.BasePage($(document.body)));
Diaspora.page.publish("page/ready", [$(document.body)])
};
@ -85,4 +85,4 @@
})();
$(Diaspora.instantiatePage);
$(Diaspora.instantiatePage);