Fix aspect membership dropdown on people search page
This commit is contained in:
parent
80a0a9f999
commit
ae3dec0167
3 changed files with 14 additions and 14 deletions
|
|
@ -100,6 +100,9 @@ var app = {
|
||||||
setupGlobalViews: function() {
|
setupGlobalViews: function() {
|
||||||
app.hovercard = new app.views.Hovercard();
|
app.hovercard = new app.views.Hovercard();
|
||||||
app.aspectMembershipsBlueprint = new app.views.AspectMembershipBlueprint();
|
app.aspectMembershipsBlueprint = new app.views.AspectMembershipBlueprint();
|
||||||
|
$('.aspect_membership_dropdown').each(function(){
|
||||||
|
new app.views.AspectMembership({el: this});
|
||||||
|
});
|
||||||
app.sidebar = new app.views.Sidebar();
|
app.sidebar = new app.views.Sidebar();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,6 @@ app.views.Notifications = Backbone.View.extend({
|
||||||
|
|
||||||
initialize: function() {
|
initialize: function() {
|
||||||
Diaspora.page.header.notifications.setUpNotificationPage(this);
|
Diaspora.page.header.notifications.setUpNotificationPage(this);
|
||||||
$('.aspect_membership_dropdown').each(function(){
|
|
||||||
new app.views.AspectMembership({el: this});
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
toggleUnread: function(evt) {
|
toggleUnread: function(evt) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue