prevent publisher on mentions and tags from crashing
This commit is contained in:
parent
792647340f
commit
dfd65c4b4b
2 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ Diaspora.Pages.MentionsIndex = function() {
|
|||
var self = this;
|
||||
|
||||
this.subscribe("page/ready", function(evt, document) {
|
||||
|
||||
self.aspectNavigation = self.instantiate("AspectNavigation", document.find("ul#aspect_nav"));
|
||||
self.stream = self.instantiate("Stream", document.find("#aspect_stream_container"));
|
||||
self.infiniteScroll = self.instantiate("InfiniteScroll");
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ Diaspora.Pages.TagFollowingsIndex = function() {
|
|||
var self = this;
|
||||
|
||||
this.subscribe("page/ready", function(evt, document) {
|
||||
self.aspectNavigation = self.instantiate("AspectNavigation", document.find("ul#aspect_nav"));
|
||||
self.stream = self.instantiate("Stream", document.find("#aspect_stream_container"));
|
||||
self.infiniteScroll = self.instantiate("InfiniteScroll");
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue