Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expandable bodies should stay expandable #24

Closed
muan opened this issue Mar 23, 2022 · 0 comments
Closed

Expandable bodies should stay expandable #24

muan opened this issue Mar 23, 2022 · 0 comments
Labels

Comments

@muan
Copy link
Owner

muan commented Mar 23, 2022

The button ceases to work when the events inside are hidden by the filters.

image

.watch_started.by_followed_people
  .watch_started.by_internet

Maybe this needs to skip children:

// Check if any links are to one of the followed people
const fromFollowedPeople = Array.from(eventItem.querySelectorAll('a')).some(function(maybeActor) {
return followees.indexOf(maybeActor.pathname.slice(1)) >= 0
})
eventItem.classList.add(fromFollowedPeople ? 'by_followed_people' : 'by_internet')
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant