Merge pull request #1858 from vcuculo/1847-fix-mobile-site
1857 Fix for mobile site
This commit is contained in:
commit
0e646d7bf7
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue