Skip to content

Conversation

@PaulAdamDavis
Copy link
Member

The tag archive header shares the same classes as post cards, but have different elements. When infinite scroll kicks in, it also appends the header again, as the JS selector was a bit greedy, selecting more than it should.

This changes the selector to target article.post-card, which ignores header.post-card

Before:

1615478606642

After:

1615478658870

The tag archive header shares the same classes as post cards, but have different elements.

This changes the selector to target article.post-card, which ignores header.post-card
@JohnONolan JohnONolan merged commit b927cf6 into main Mar 11, 2021
@JohnONolan JohnONolan deleted the fix-tag-archive-duplicate-headers branch March 11, 2021 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants