Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Expandable bodies should stay expandable #24

@muan

Description

@muan

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')
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions