better strategy for Diaspora.backboneEnabled (ATM)
This commit is contained in:
parent
bbc7db3152
commit
096efee929
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@
|
|||
|
||||
// temp hack to check if backbone is enabled for the page
|
||||
Diaspora.backboneEnabled = function(){
|
||||
return window.app.router.routes[window.location.pathname.replace("/","")];
|
||||
return window.app.stream !== undefined;
|
||||
}
|
||||
|
||||
window.Diaspora = Diaspora;
|
||||
|
|
|
|||
Loading…
Reference in a new issue